MLT 7.40.0
Multimedia Framework
Public Member Functions | Properties | Static Private Attributes
mlt.Animation Class Reference
Inheritance diagram for mlt.Animation:
Inheritance graph
[legend]
Collaboration diagram for mlt.Animation:
Collaboration graph
[legend]

Public Member Functions

 __assign__ (self, arg2)
 
 __init__ (self, *args)
 
 get_animation (self)
 
 get_item (self, position, is_key, arg4)
 
 interpolate (self)
 
 is_key (self, position)
 
 is_valid (self)
 
 key_count (self)
 
 key_get (self, index, frame, arg4)
 
 key_get_frame (self, index)
 
 key_get_type (self, index)
 
 key_set_frame (self, index, frame)
 
 key_set_type (self, index, type)
 
 keyframe_type (self, position)
 
 length (self)
 
 next_key (self, *args)
 
 previous_key (self, *args)
 
 remove (self, position)
 
 serialize_cut (self, *args)
 
 set_length (self, length)
 
 shift_frames (self, shift)
 

Properties

 thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
 

Static Private Attributes

 __repr__ = _swig_repr
 
 __swig_destroy__ = _mlt7.delete_Animation
 

Detailed Description

Proxy of C++ Mlt::Animation class.

Constructor & Destructor Documentation

◆ __init__()

mlt.Animation.__init__ (   self,
args 
)

Member Function Documentation

◆ __assign__()

mlt.Animation.__assign__ (   self,
  arg2 
)

◆ get_animation()

mlt.Animation.get_animation (   self)

◆ get_item()

mlt.Animation.get_item (   self,
  position,
  is_key,
  arg4 
)
 Get the interpolated value and keyframe type at ``position``.

◆ interpolate()

mlt.Animation.interpolate (   self)
 Recalculate intermediate values between keyframes.

◆ is_key()

mlt.Animation.is_key (   self,
  position 
)
 Return true if ``position`` is exactly a keyframe.

◆ is_valid()

mlt.Animation.is_valid (   self)
 Return true if the underlying handle is non-null.

◆ key_count()

mlt.Animation.key_count (   self)
 Return the total number of keyframes.

◆ key_get()

mlt.Animation.key_get (   self,
  index,
  frame,
  arg4 
)
 Get the frame and type of the keyframe at ``index``.

◆ key_get_frame()

mlt.Animation.key_get_frame (   self,
  index 
)
 Return the frame number of the keyframe at ``index``.

◆ key_get_type()

mlt.Animation.key_get_type (   self,
  index 
)
 Return the interpolation type of the keyframe at ``index``.

◆ key_set_frame()

mlt.Animation.key_set_frame (   self,
  index,
  frame 
)
 Move the keyframe at ``index`` to ``frame``.

◆ key_set_type()

mlt.Animation.key_set_type (   self,
  index,
  type 
)
 Set the interpolation type of the keyframe at ``index``.

◆ keyframe_type()

mlt.Animation.keyframe_type (   self,
  position 
)
 Return the interpolation type of the keyframe at ``position``.

◆ length()

mlt.Animation.length (   self)
 Return the animation length in frames.

◆ next_key()

mlt.Animation.next_key (   self,
args 
)

◆ previous_key()

mlt.Animation.previous_key (   self,
args 
)

◆ remove()

mlt.Animation.remove (   self,
  position 
)
 Remove the keyframe at ``position``.

◆ serialize_cut()

mlt.Animation.serialize_cut (   self,
args 
)

◆ set_length()

mlt.Animation.set_length (   self,
  length 
)
 Set a new total length, scaling keyframe positions proportionally.

◆ shift_frames()

mlt.Animation.shift_frames (   self,
  shift 
)
 Shift all keyframe positions by ``shift`` frames.

Field Documentation

◆ __repr__

mlt.Animation.__repr__ = _swig_repr
staticprivate

◆ __swig_destroy__

mlt.Animation.__swig_destroy__ = _mlt7.delete_Animation
staticprivate

Property Documentation

◆ thisown

mlt.Animation.thisown = property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc="The membership flag")
static

The documentation for this class was generated from the following file: