Skip to content

class Celestine::Animate::Motion
inherits Celestine::Drawable #

Included modules

Celestine::Modules::Animate Celestine::Modules::CommonAnimate

Constants#

TAG = "animateMotion" #

Methods#

#draw(io : IO) : Nil #

Main draw method for a drawable. Takes in and interacts with an io.

View source

#key_points : Array(Float64) #

This attribute indicate, in the range [0,1], how far is the object along the path for each key_times associated values.

View source

#key_points=(key_points) #

This attribute indicate, in the range [0,1], how far is the object along the path for each key_times associated values.

View source
View source
View source

#mpath : String #

View source

#mpath(&block : Proc(Celestine::Path, Nil)) #

View source

#mpath=(path : Celestine::Path) #

View source

#rotate : String #

View source

#rotate=(rotate) #

View source

module Celestine::Animate::Motion::Attrs #

Included modules

Celestine::Modules::CommonAnimate::Attrs

Constants#

KEY_POINTS = "keyPoints" #

MPATH = "path" #

ROTATE = "rotate" #