module Celestine::Modules::CommonAnimate

Overview

Gives animated elements like animate and animate_motion it's shared attributes.

Direct including types

Defined in:

modules/common_animate.cr

Instance Method Summary

Instance Method Detail

def accumulate=(accumulate) #

The accumulate attribute controls whether or not an animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration.


[View source]
def accumulate? #

The accumulate attribute controls whether or not an animation is cumulative. It is frequently useful for repeated animations to build upon the previous results, accumulating with each iteration.


[View source]
def additive=(additive) #

The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.


[View source]
def additive? #

The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.


[View source]
def animate_attribute(io : IO) #

[View source]
def calc_mode : String | Nil #

Defines how the animation should interpolate values.


[View source]
def calc_mode=(calc_mode : String | Nil) #

Defines how the animation should interpolate values.


[View source]
def duration : IFNumber | Nil #

The duration of the animation


def duration=(duration : IFNumber | Nil) #

The duration of the animation


def duration_units : String | Nil #

What kind of unit #duration should use when rendering


def duration_units=(duration_units : String | Nil) #

What kind of unit #duration should use when rendering


def freeze=(freeze) #

The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.


[View source]
def freeze? #

The additive attribute controls whether or not an animation is additive. It is frequently useful to define animation as an offset or delta to an attribute's value, rather than as absolute values.


[View source]
def key_splines #

[View source]
def key_splines=(vals : Enumerable) #

[View source]
def key_times #

[View source]
def key_times=(vals : Enumerable) #

[View source]
def max : IFNumber | Nil #

The max attribute specifies the minimum value of the active animation duration


def max=(max : IFNumber | Nil) #

The max attribute specifies the minimum value of the active animation duration


def max_units : String | Nil #

What kind of unit #max should use when rendering


def max_units=(max_units : String | Nil) #

What kind of unit #max should use when rendering


def min : IFNumber | Nil #

The min attribute specifies the minimum value of the active animation duration


def min=(min : IFNumber | Nil) #

The min attribute specifies the minimum value of the active animation duration


def min_units : String | Nil #

What kind of unit #min should use when rendering


def min_units=(min_units : String | Nil) #

What kind of unit #min should use when rendering


def repeat_count : IFNumber | String | Nil #

How many times this animation should be repeated. This can be a number or the string "indefinite"


[View source]
def repeat_count=(repeat_count : IFNumber | String | Nil) #

How many times this animation should be repeated. This can be a number or the string "indefinite"


[View source]
def repeat_duration : IFNumber | Nil #

The duration that the animation should repeat.


def repeat_duration=(repeat_duration : IFNumber | Nil) #

The duration that the animation should repeat.


def repeat_duration_units : String | Nil #

What kind of unit #repeat_duration should use when rendering


def repeat_duration_units=(repeat_duration_units : String | Nil) #

What kind of unit #repeat_duration should use when rendering


def values #

[View source]
def values=(vals : Enumerable) #

[View source]