Skip to content

module Celestine::Modules::Animate::Transform #

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

Constants#

ANIMATE_TRANSFORM_TYPES = ["rotate", "translate", "scale", "skewX", "skewY"] #

Methods#

#animate_transform_rotate(&block : Proc(Celestine::Animate::Transform::Rotate, Nil)) #

Adds a Celestine::Animate::Transform to the calling drawable's inner elements.

View source

#animate_transform_scale(&block : Proc(Celestine::Animate::Transform::Scale, Nil)) #

View source

#animate_transform_skew_x(&block : Proc(Celestine::Animate::Transform::SkewX, Nil)) #

View source

#animate_transform_skew_y(&block : Proc(Celestine::Animate::Transform::SkewY, Nil)) #

View source

#animate_transform_translate(&block : Proc(Celestine::Animate::Transform::Translate, Nil)) #

View source