class

Lottie::Comp

Inherits Reference < Object

Instance methods

assets
Source
assets=(assets : Hash(String, Comp))
Source
duration

rlottie: duration = frameDuration / frameRate (lottiemodel.h — frameDuration = op − ip, WITHOUT the +1 that totalFrame carries; the manifest pins this: spinner op=59 → 59/60 = 0.98333…).

Source
fps=(fps : Float64)
Source
frame_count

rlottie: totalFrame = endFrame - startFrame + 1 (lottiemodel.h).

Source
height
Source
height=(height : Float64)
Source
in_frame
Source
in_frame=(in_frame : Float64)
Source
layers
Source
layers=(layers : Array(Layer))
Source
out_frame
Source
out_frame=(out_frame : Float64)
Source
width
Source
width=(width : Float64)
Source