module Celestine::Modules::Animate::Transform
Overview
Gives drawables access to the animate_transform DSL
Direct including types
- Celestine::Anchor
- Celestine::Circle
- Celestine::Ellipse
- Celestine::Group
- Celestine::Image
- Celestine::Path
- Celestine::Rectangle
- Celestine::Svg
- Celestine::Text
- Celestine::Use
Defined in:
modules/animate_transform.crConstant Summary
-
ANIMATE_TRANSFORM_TYPES =
["rotate", "translate", "scale", "skewX", "skewY"]
Instance Method Summary
-
#animate_transform_rotate(&block : Proc(Celestine::Animate::Transform::Rotate, Nil))
Adds a
Celestine::Animate::Transform
to the calling drawable's inner elements. - #animate_transform_scale(&block : Proc(Celestine::Animate::Transform::Scale, Nil))
- #animate_transform_skew_x(&block : Proc(Celestine::Animate::Transform::SkewX, Nil))
- #animate_transform_skew_y(&block : Proc(Celestine::Animate::Transform::SkewY, Nil))
- #animate_transform_translate(&block : Proc(Celestine::Animate::Transform::Translate, Nil))
Instance Method Detail
def animate_transform_rotate(&block : Proc(Celestine::Animate::Transform::Rotate, Nil))
#
Adds a Celestine::Animate::Transform
to the calling drawable's inner elements.
def animate_transform_scale(&block : Proc(Celestine::Animate::Transform::Scale, Nil))
#
def animate_transform_skew_x(&block : Proc(Celestine::Animate::Transform::SkewX, Nil))
#
def animate_transform_skew_y(&block : Proc(Celestine::Animate::Transform::SkewY, Nil))
#
def animate_transform_translate(&block : Proc(Celestine::Animate::Transform::Translate, Nil))
#