module Celestine::Modules::Animate::Transform

Overview

Gives drawables access to the animate_transform DSL

Direct including types

Defined in:

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.


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)) #