Documentation
¶
Overview ¶
Package helpers provides helper types for lottie files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transform ¶
type Transform struct { // Transform Anchor Point AnchorPoint json.RawMessage `json:"a,omitempty"` // Transform Opacity Opacity json.RawMessage `json:"o,omitempty"` // Transform Position Position json.RawMessage `json:"p,omitempty"` // Transform Position X Px json.RawMessage `json:"px,omitempty"` // Transform Position Y Py json.RawMessage `json:"py,omitempty"` // Transform Position Z Pz json.RawMessage `json:"pz,omitempty"` // Transform Rotation Rotation json.RawMessage `json:"r,omitempty"` // Transform Scale Scale json.RawMessage `json:"s,omitempty"` // Transform Skew Axis SkewAxis json.RawMessage `json:"sa,omitempty"` // Transform Skew Skew json.RawMessage `json:"sk,omitempty"` }
func (*Transform) InitialOpacity ¶
InitialOpacity returns the initial opacity (0-100) of the transform.
func (*Transform) InitialPosition ¶
InitialPosition returns the initial rotation of the transform.
func (*Transform) InitialRotation ¶
InitialRotation returns the initial rotation of the transform.
func (*Transform) InitialScale ¶
InitialScale returns the initial scale of the transform.
func (*Transform) OpacityKeys ¶
func (t *Transform) OpacityKeys() *properties.ValueKeyframed
OpacityKeys returns the opacity keys of the transform.
Click to show internal directories.
Click to hide internal directories.