module Celestine::Modules::Animate::Transform

Overview

Gives drawables access to the animate_transform DSL

Direct including types

Defined in:

modules/animate_transform.cr

Constant Summary

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

Instance Method Summary

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.


[View source]
def animate_transform_scale(&block : Proc(Celestine::Animate::Transform::Scale, Nil)) #

[View source]
def animate_transform_skew_x(&block : Proc(Celestine::Animate::Transform::SkewX, Nil)) #

[View source]
def animate_transform_skew_y(&block : Proc(Celestine::Animate::Transform::SkewY, Nil)) #

[View source]
def animate_transform_translate(&block : Proc(Celestine::Animate::Transform::Translate, Nil)) #

[View source]