class Celestine::Animate::Motion
  
  - Celestine::Animate::Motion
 - Celestine::Drawable
 - Reference
 - Object
 
Included Modules
Defined in:
effects/animation/animate_motion.crConstant Summary
- 
        TAG = 
"animateMotion" 
Instance Method Summary
- 
        #draw(io : IO) : Nil
        
          
Main draw method for a drawable.
 - 
        #key_points : Array(Float64)
        
          
This attribute indicate, in the range [0,1], how far is the object along the path for each
key_timesassociated values. - 
        #key_points=(key_points : Array(Float64))
        
          
This attribute indicate, in the range [0,1], how far is the object along the path for each
key_timesassociated values. - #link_mpath(path : Celestine::Path)
 - #link_mpath(id : String)
 - #mpath : String
 - #mpath(&block : Proc(Celestine::Path, Nil))
 - #mpath=(path : Celestine::Path)
 - #rotate : String
 - #rotate=(rotate : String)
 
Instance methods inherited from module Celestine::Modules::CommonAnimate
  
  
    
      accumulate=(accumulate)
    accumulate=, 
    
  
    
      accumulate?
    accumulate?, 
    
  
    
      additive=(additive)
    additive=, 
    
  
    
      additive?
    additive?, 
    
  
    
      animate_attribute(io : IO)
    animate_attribute, 
    
  
    
      calc_mode : String | Nil
    calc_mode, 
    
  
    
      calc_mode=(calc_mode : String | Nil)
    calc_mode=, 
    
  
    
      duration : IFNumber | Nil
    duration, 
    
  
    
      duration=(duration : IFNumber | Nil)
    duration=, 
    
  
    
      duration_units : String | Nil
    duration_units, 
    
  
    
      duration_units=(duration_units : String | Nil)
    duration_units=, 
    
  
    
      freeze=(freeze)
    freeze=, 
    
  
    
      freeze?
    freeze?, 
    
  
    
      key_splines : Array(SIFNumber)
    key_splines, 
    
  
    
      key_splines=(key_splines : Array(SIFNumber))
    key_splines=, 
    
  
    
      key_times : Array(SIFNumber)
    key_times, 
    
  
    
      key_times=(key_times : Array(SIFNumber))
    key_times=, 
    
  
    
      max : IFNumber | Nil
    max, 
    
  
    
      max=(max : IFNumber | Nil)
    max=, 
    
  
    
      max_units : String | Nil
    max_units, 
    
  
    
      max_units=(max_units : String | Nil)
    max_units=, 
    
  
    
      min : IFNumber | Nil
    min, 
    
  
    
      min=(min : IFNumber | Nil)
    min=, 
    
  
    
      min_units : String | Nil
    min_units, 
    
  
    
      min_units=(min_units : String | Nil)
    min_units=, 
    
  
    
      repeat_count : IFNumber | String | Nil
    repeat_count, 
    
  
    
      repeat_count=(repeat_count : IFNumber | String | Nil)
    repeat_count=, 
    
  
    
      repeat_duration : IFNumber | Nil
    repeat_duration, 
    
  
    
      repeat_duration=(repeat_duration : IFNumber | Nil)
    repeat_duration=, 
    
  
    
      repeat_duration_units : String | Nil
    repeat_duration_units, 
    
  
    
      repeat_duration_units=(repeat_duration_units : String | Nil)
    repeat_duration_units=, 
    
  
    
      values : Array(SIFNumber)
    values, 
    
  
    
      values=(values : Array(SIFNumber))
    values=
    
  
    
    
  
    
  Instance methods inherited from module Celestine::Modules::Animate
  
  
    
      animate(&block : Proc(Celestine::Animate, Nil))
    animate
    
  
    
    
  
    
  Instance methods inherited from class Celestine::Drawable
  
  
    
      class_attribute(io : IO)
    class_attribute, 
    
  
    
      classes : Array(String)
    classes, 
    
  
    
      classes=(classes : Array(String))
    classes=, 
    
  
    
      custom_attribute(io : IO)
    custom_attribute, 
    
  
    
      custom_attrs : Hash(String, String)
    custom_attrs, 
    
  
    
      custom_attrs=(custom_attrs : Hash(String, String))
    custom_attrs=, 
    
  
    
      draw(io : IO) : Nil
    draw, 
    
  
    
      id : String | Nil
    id, 
    
  
    
      id=(id : String | Nil)
    id=, 
    
  
    
      id_attribute(io : IO)
    id_attribute, 
    
  
    
      inner_elements : IO::Memory
    inner_elements, 
    
  
    
      inner_elements=(inner_elements : IO::Memory)
    inner_elements=, 
    
  
    
      style : Hash(String, String)
    style, 
    
  
    
      style=(style : Hash(String, String))
    style=, 
    
  
    
      style_attribute(io : IO)
    style_attribute
    
  
    
    
  
    
    
    
  
    
    
    
  
Instance Method Detail
        
        def draw(io : IO) : Nil
        #
      
      
        
              Description copied from class Celestine::Drawable
            
          
          Main draw method for a drawable. Takes in and interacts with an io.
        
        def 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.
        
        def key_points=(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.