Class MoveKeyframe
Represents a profile editor command that can be used to change the position of a keyframe.
public class MoveKeyframe : IProfileEditorCommand
- Inheritance
-
objectMoveKeyframe
- Implements
Constructors
MoveKeyframe(ILayerPropertyKeyframe, TimeSpan)
Creates a new instance of the MoveKeyframe class.
public MoveKeyframe(ILayerPropertyKeyframe keyframe, TimeSpan position)
Parameters
keyframeILayerPropertyKeyframepositionTimeSpan
MoveKeyframe(ILayerPropertyKeyframe, TimeSpan, TimeSpan)
Creates a new instance of the MoveKeyframe class.
public MoveKeyframe(ILayerPropertyKeyframe keyframe, TimeSpan position, TimeSpan originalPosition)
Parameters
keyframeILayerPropertyKeyframepositionTimeSpanoriginalPositionTimeSpan
Properties
DisplayName
Gets the name of the command
public string DisplayName { get; }
Property Value
Methods
Execute()
Executes the command
public void Execute()
Undo()
Undoes the command
public void Undo()