class

Opal::Animation::RectTween

Inherits Reference < Object

Rect tween interpolating between two rectangles

Constructors

new(from_rect : UI::Rect, to_rect : UI::Rect, duration : Time::Span, easing : Easing = Easing::Linear)
Source

Instance methods

current_rect
Source
finished?
Source
from_rect
Source
to_rect
Source
tween
Source
update(dt : Float64) : UI::Rect
Source