Animation Item (PRIM_ANIM.AnimationItem)
Component piece of an animation
Ancestors - Object (PRIM_OBJT)
Details
An AnimationItem is the base class for all animation classes such as Prim_anim.Move or Prim_anim.Opacity.
All animations are made up of one or more animation items.
Example
Simple animation that moves a button to a left position of 300 and then back to a left of 0.
Define_Com Class(#PRIM_ANIM) Name(#Animation)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step1) Left(300) Manage(#Button) Parent(#Animation) Duration(500)
Define_Com Class(#PRIM_ANIM.MoveTo) Name(#Step2) Manage(#Button) Parent(#Animation) Starttime(500) Duration(500)
Properties
Name |
Description |
ComponentClassName is the name of the component's class. Inherited from Object (PRIM_OBJT) |
|
ComponentMembers provides access to all the member components of this component Inherited from Object (PRIM_OBJT) |
|
ComponentPatternName is used to qualify the class of the component. Inherited from Object (PRIM_OBJT) |
|
Generic space allowing a value to be stored for the instance Inherited from Object (PRIM_OBJT) |
|
ComponentType gives you access to the type information about the component Inherited from Object (PRIM_OBJT) |
|
ComponentTypeName is the fully qualified name of the component's class. Inherited from Object (PRIM_OBJT) |
|
Number of milliseconds to take to complete the animation |
|
Name identifies the component Inherited from Object (PRIM_OBJT) |
|
Owner owns this component Inherited from Object (PRIM_OBJT) |
|
Reference to the animation of which this item is a part |
|
Number of milliseconds to wait before starting the animation |
Events
Name |
Description |
CreateInstance is signalled when an instance of a component is created [Inherited from Animation Item (PRIM_ANIM.AnimationItem) |
|
DestroyInstance is signalled when an instance of a component is about to be destroyed [Inherited from Animation Item (PRIM_ANIM.AnimationItem) |