module
Celestine::Modules::CommonAnimate
Overview
Gives animated elements like animate and animate_motion it's shared attributes.
Direct including types
- Celestine::Animate
- Celestine::Animate::Motion
- Celestine::Modules::Animate::Transform::Rotate
- Celestine::Modules::Animate::Transform::Scale
- Celestine::Modules::Animate::Transform::SkewX
- Celestine::Modules::Animate::Transform::SkewY
- Celestine::Modules::Animate::Transform::Translate
Defined in:
modules/common_animate.crInstance Method Summary
-
#accumulate=(accumulate)
The accumulate attribute controls whether or not an animation is cumulative.
-
#accumulate?
The accumulate attribute controls whether or not an animation is cumulative.
-
#additive=(additive)
The additive attribute controls whether or not an animation is additive.
-
#additive?
The additive attribute controls whether or not an animation is additive.
- #animate_attribute(io : IO)
-
#calc_mode : String | Nil
Defines how the animation should interpolate values.
-
#calc_mode=(calc_mode : String | Nil)
Defines how the animation should interpolate values.
-
#duration : IFNumber | Nil
The duration of the animation
-
#duration=(duration : IFNumber | Nil)
The duration of the animation
-
#duration_units : String | Nil
What kind of unit
#durationshould use when rendering -
#duration_units=(duration_units : String | Nil)
What kind of unit
#durationshould use when rendering -
#freeze=(freeze)
The additive attribute controls whether or not an animation is additive.
-
#freeze?
The additive attribute controls whether or not an animation is additive.
- #key_splines
- #key_splines=(vals : Enumerable)
- #key_times
- #key_times=(vals : Enumerable)
-
#max : IFNumber | Nil
The max attribute specifies the minimum value of the active animation duration
-
#max=(max : IFNumber | Nil)
The max attribute specifies the minimum value of the active animation duration
-
#max_units : String | Nil
What kind of unit
#maxshould use when rendering -
#max_units=(max_units : String | Nil)
What kind of unit
#maxshould use when rendering -
#min : IFNumber | Nil
The min attribute specifies the minimum value of the active animation duration
-
#min=(min : IFNumber | Nil)
The min attribute specifies the minimum value of the active animation duration
-
#min_units : String | Nil
What kind of unit
#minshould use when rendering -
#min_units=(min_units : String | Nil)
What kind of unit
#minshould use when rendering -
#repeat_count : IFNumber | String | Nil
How many times this animation should be repeated.
-
#repeat_count=(repeat_count : IFNumber | String | Nil)
How many times this animation should be repeated.
-
#repeat_duration : IFNumber | Nil
The duration that the animation should repeat.
-
#repeat_duration=(repeat_duration : IFNumber | Nil)
The duration that the animation should repeat.
-
#repeat_duration_units : String | Nil
What kind of unit
#repeat_durationshould use when rendering -
#repeat_duration_units=(repeat_duration_units : String | Nil)
What kind of unit
#repeat_durationshould use when rendering - #values
- #values=(vals : Enumerable)
Instance Method Detail
The accumulate attribute controls whether or not an animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration.
The accumulate attribute controls whether or not an animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration.
The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.
The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.
Defines how the animation should interpolate values.
- Potential values:
discrete | linear | paced | spline - Mozilla SVG Docs
Defines how the animation should interpolate values.
- Potential values:
discrete | linear | paced | spline - Mozilla SVG Docs
What kind of unit #duration should use when rendering
The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.
The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.
The max attribute specifies the minimum value of the active animation duration
The max attribute specifies the minimum value of the active animation duration
The min attribute specifies the minimum value of the active animation duration
The min attribute specifies the minimum value of the active animation duration
How many times this animation should be repeated. This can be a number or the string "indefinite"
How many times this animation should be repeated. This can be a number or the string "indefinite"
The duration that the animation should repeat.
What kind of unit #repeat_duration should use when rendering
What kind of unit #repeat_duration should use when rendering