class
Opal::Animation::ColorTween
- Opal::Animation::ColorTween
- Reference
- Object
Overview
Color tween interpolating between two colors
Defined in:
opal/style/animation.crConstructors
Instance Method Summary
- #current_color : Color
- #finished? : Bool
- #from_color : Color
- #to_color : Color
- #tween : Tween
- #update(dt : Float64) : Color
Constructor Detail
def self.new(from_color : Color, to_color : Color, duration : Time::Span, easing : Easing = Easing::Linear)
#