struct

Lottie::PathData

Inherits Struct < Value < Object

A bezier path in Lottie encoding: vertices plus in/out tangents RELATIVE to their vertex (bodymovin stores offsets, not points).

Constructors

new(vertices : Array(Lottie::Vec2) = [] of Vec2, in_tangents : Array(Lottie::Vec2) = [] of Vec2, out_tangents : Array(Lottie::Vec2) = [] of Vec2, closed : Bool = false)
Source

Instance methods

closed?
Source
in_tangents
Source
out_tangents
Source
vertices
Source