Lottie::GradientFill
Inherits Lottie::ShapeItem < Reference < Object
"gf": gradient fill. The stop data ("g"."k") is the flat array [pos, r, g, b, pos, r, g, b, ...] followed — for the legacy opacity form — by [pos, opacity, ...] pairs (rlottie Gradient::populate splits it using "g"."p" as the color-point count). "t": 1 linear, 2 radial (with "h" highlight length / "a" highlight angle for the focal point).
Instance methods
color_points
Sourcecolor_points=(color_points : Int32)
Sourceend_point
Sourceend_point=(end_point : Prop(Vec2))
Sourcefill_rule
Sourcefill_rule=(fill_rule : Int32)
Sourcegradient_type
Sourcegradient_type=(gradient_type : Int32)
Sourcehighlight_angle
Sourcehighlight_angle=(highlight_angle : Prop(Float64))
Sourcehighlight_length
Sourcehighlight_length=(highlight_length : Prop(Float64))
Sourceopacity
Sourceopacity=(opacity : Prop(Float64))
Sourcestart
Sourcestart=(start : Prop(Vec2))
Sourcestops
Sourcestops=(stops : Prop(Array(Float64)))
Source