python-lottie 0.7.1+dev23f1ddd
A framework to work with lottie files and telegram animated stickers (tgs)
|
Objects of the lottie file structure. More...
Objects of the lottie file structure.
Lottie name | Type | Description | Attribute |
---|---|---|---|
layers | list of Layer | layers | |
nm | str | name | |
mn | str | match_name | |
v | str | Bodymovin Version. | version |
fr | float | Frames per second. | frame_rate |
ip | float | The time when the composition work area begins, in frames. | in_point |
op | float | The time when the composition work area ends. | out_point |
w | int | Composition Width. | width |
h | int | Composition Height. | height |
ddd | 0-1 int | Composition has 3-D layers. | threedimensional |
assets | list of Asset | source items that can be used in multiple places. | assets |
comps | list of Precomp | List of Extra compositions not referenced by anything. | extra_compositions |
fonts | FontList | Available fonts. | fonts |
chars | list of Chars | source chars for text layers | chars |
markers | list of Marker | markers | |
mb | MotionBlur | motion_blur | |
meta | Metadata | metadata | |
metadata | UserMetadata | user_metadata | |
slots | PropertySlots | slots |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | str | author | |
g | str | generator | |
k | list of str | keywords | |
d | str | description | |
tc | str | theme_color |
Lottie name | Type | Description | Attribute |
---|---|---|---|
sa | float | Angle in degrees. | shutter_angle |
sp | float | Angle in degrees. | shutter_phase |
spf | float | samples_per_frame | |
asl | float | adaptive_sample_limit |
Lottie name | Type | Description | Attribute |
---|---|---|---|
filename | str | filename | |
customProps | dict | custom_properties |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | id | |
u | str | Path to the directory containing a file. | path |
p | str | Filename or data url. | file_name |
e | 0-1 int | Whether the file is embedded. | is_embedded |
t | int = 3 | type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | id | |
u | str | Path to the directory containing a file. | path |
p | str | Filename or data url. | file_name |
e | 0-1 int | Whether the file is embedded. | is_embedded |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | Image ID. | id |
u | str | path | |
p | str | file_name | |
e | 0-1 int | is_embedded | |
h | float | Image Height. | height |
w | float | Image Width. | width |
t | str | If "seq", marks it as part of an image sequence. | type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | Precomp ID. | id |
layers | list of Layer | List of Composition Layers. | layers |
fr | float | frame_rate |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
id | str | id | |
u | str | Path to the directory containing a file. | path |
p | str | Filename or data url. | file_name |
e | 0-1 int | Whether the file is embedded. | is_embedded |
Lottie name | Type | Description | Attribute |
---|---|---|---|
c | bool | Closed property of shape. | closed |
i | list of list of float | Cubic bezier handles for the segments before each vertex. | in_tangents |
o | list of list of float | Cubic bezier handles for the segments after each vertex. | out_tangents |
v | list of list of float | Bezier curve vertices. | vertices |
Lottie name | Type | Description | Attribute |
---|---|---|---|
x | float or list of float | x position of the handle. | x |
y | float or list of float | y position of the handle. | y |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 5 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 27 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Displacement Map Layer, Use For Horizontal Displacement, Max Horizontal Displacement, Use For Vertical Displacement, Max Vertical Displacement, Displacement Map Behavior, Edge Behavior, Expand Output] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 25 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [color, opacity, angle, distance, blur] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int | Effect type. | type |
ef | list of EffectValue | Effect parameters. [] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int | Effect value type. | type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int | Effect value type. | type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 1 | Effect type. | type |
v | Value | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 4 | Effect type. | type |
v | Value | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 2 | Effect type. | type |
v | ColorValue | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 7 | Effect type. | type |
v | Value | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 6 | Effect type. | type |
v | float | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 10 | Effect type. | type |
v | Value | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 3 | Effect type. | type |
v | MultiDimensional | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 0 | Effect type. | type |
v | Value | Effect value. | value |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 21 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [00, 01, color, 03, 04, 05, opacity] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 29 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [sigma, dimensions, wrap] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 28 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [index] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 31 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Rows, Columns, Quality, 03] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 7 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [00] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 24 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [00, 01, 02, comp_inblack, comp_inwhite, comp_gamma, comp_outblack, comp_outwhite, 08, 09, r_inblack, r_inwhite, r_gamma, r_outblack, r_outwhite, 15, 16, g_inblack, g_inwhite, g_gamma, g_outblack, g_outwhite, 22, 23, b_inblack, b_inwhite, b_gamma, b_outblack, b_outwhite, 29, a_inblack, a_inwhite, a_gamma, a_outblack, a_outwhite] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 34 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Puppet Engine, Mesh Rotation Refinement, On Transparent, 03] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 26 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Completion, Start Angle, Wipe Center, Wipe, Feather] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int | Effect type. | type |
ef | list of EffectValue | Effect parameters. [radius, center] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 22 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [00, 01, 02, color, 04, 05, 06, 07, 08, 09, type] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 20 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [color_black, color_white, opacity] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 23 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [bright, mid, dark] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 30 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Angle, Radius, Center] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ix | int | Effect Index. | effect_index |
ty | int = 32 | Effect type. | type |
ef | list of EffectValue | Effect parameters. [Radius, Center, Conversion type, Speed, Width, Height, Phase] | effects |
en | bool | Whether the effect is enabled. | enabled |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
1 | Characters | Characters | |
2 | CharacterExcludingSpaces | CharacterExcludingSpaces | |
3 | Words | Words | |
4 | Lines | Lines |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
1 | Square | Square | |
2 | RampUp | RampUp | |
3 | RampDown | RampDown | |
4 | Triangle | Triangle | |
5 | Round | Round | |
6 | Smooth | Smooth |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
0 | Normal | Normal | |
1 | Multiply | Multiply | |
2 | Screen | Screen | |
3 | Overlay | Overlay | |
4 | Darken | Darken | |
5 | Lighten | Lighten | |
6 | ColorDodge | ColorDodge | |
7 | ColorBurn | ColorBurn | |
8 | HardLight | HardLight | |
9 | SoftLight | SoftLight | |
10 | Difference | Difference | |
11 | Exclusion | Exclusion | |
12 | Hue | Hue | |
13 | Saturation | Saturation | |
14 | Color | Color | |
15 | Luminosity | Luminosity |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
inv | bool | Inverted Mask flag. | inverted |
pt | ShapeProperty | Mask vertices. | shape |
o | Value | Mask opacity. | opacity |
mode | MaskMode | Mask mode. | mode |
x | Value | dilate |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
n | No | No | |
a | Add | Add | |
s | Subtract | Subtract | |
i | Intersect | Intersect | |
l | Lighten | Lighten | |
d | Darken | Darken | |
f | Difference | Difference |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | PositionValue | Transform Anchor Point. | anchor_point |
p | PositionValue | Transform Position. | position |
s | MultiDimensional | Transform Scale. | scale |
r | Value | Transform Rotation. | rotation |
o | Value | Transform Opacity. | opacity |
sk | Value | Transform Skew. | skew |
sa | Value | Transform Skew Axis. | skew_axis |
or | MultiDimensional | orientation |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 6 | type | |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
ty | int = 6 | type | |
au | AudioSettings | audio_settings | |
refId | str | ID of the sound as specified in the assets. | sound_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
lv | MultiDimensional | level |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 13 | type | |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
ty | int = 13 | type | |
ks | Transform | Layer transform. | transform |
pe | Value | Distance from the Z=0 plane. | perspective |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 15 | type | |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
ty | int = 15 | type | |
refId | str | ID of the data source in assets. | data_source_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 2 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
refId | str | id pointing to the source image defined on 'assets' object | image_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
0 | Normal | Normal | |
1 | Alpha | Alpha | |
2 | InvertedAlpha | InvertedAlpha | |
3 | Luma | Luma | |
4 | InvertedLuma | InvertedLuma |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 3 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 0 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
refId | str | id pointing to the source composition defined on 'assets' object | reference_id |
tm | Value | Comp's Time remapping. | time_remapping |
w | int | Width. | width |
h | int | Height. | height |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 4 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
shapes | list of ShapeElement | Shape list of items. | shapes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 1 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
sc | Color string | Color of the layer as a #rrggbb hex. | color |
sh | float | Height of the layer. | height |
sw | float | Width of the layer. | width |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int = 5 | Layer type. | type |
ind | int | Index that can be used for parenting and referenced in expressions. | index |
parent | int | Must be the ind property of another layer. | parent_index |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
t | TextAnimatorData | Text Data. | data |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ddd | 0-1 int | Whether the layer is threedimensional. | threedimensional |
hd | bool | Whether the layer is hidden. | hidden |
guide | bool | When true, the layer should not be rendered. | is_guide |
ty | int | Layer type. | type |
ind | int | index | |
parent | int | parent_index | |
sr | float | time_stretch | |
ip | float | Frame when the layer becomes visible. | in_point |
op | float | Frame when the layer becomes invisible. | out_point |
st | float | Start Time of layer. | start_time |
cp | bool | collapse_transform | |
ks | Transform | Transform properties. | transform |
ao | 0-1 int | Auto-Orient along path AE property. | auto_orient |
bm | BlendMode | Blend Mode. | blend_mode |
tt | MatteMode | Matte mode, the layer will inherit the transparency from the layer above. | matte_mode |
td | int | matte_target | |
tp | int | matte_parent | |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
tg | str | tag name used by the SVG renderer | layer_xml_tag_name |
mb | bool | Whether motion blur is enabled for the layer. | motion_blur |
sy | list of LayerStyle | Styling effects for this layer. | layer_style |
hasMask | bool | Whether the layer has some masks applied. | has_masks |
masksProperties | list of Mask | List of Masks. | masks |
ef | list of Effect | List of Effects. | effects |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | Color | Non-animated value. | value |
ix | int | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of OffsetKeyframe | Keyframe list. | keyframes |
x | str | Expression. | expression |
sid | str | Slot name. | slot_id |
Colors are represented as a flat list interleaving offsets and color components in weird ways There are two possible layouts:
Without alpha, the colors are a sequence of offset, r, g, b
With alpha, same as above but at the end of the list there is a sequence of offset, alpha
Examples:
For the gradient [0, red], [0.5, yellow], [1, green] The list would be [0, 1, 0, 0, 0.5, 1, 1, 0, 1, 0, 1, 0]
For the gradient [0, red at 80% opacity], [0.5, yellow at 70% opacity], [1, green at 60% opacity] The list would be [0, 1, 0, 0, 0.5, 1, 1, 0, 1, 0, 1, 0, 0, 0.8, 0.5, 0.7, 1, 0.6]
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | MultiDimensional | Animatable colors, as a vector containing [offset, r, g, b] values as a flat array. | colors |
p | int | Number of colors. | count |
Lottie name | Type | Description | Attribute |
---|---|---|---|
t | float | Start time of keyframe segment. | time |
i | KeyframeBezierHandle | Bezier curve easing in value. | in_value |
o | KeyframeBezierHandle | Bezier curve easing out value. | out_value |
h | 0-1 int | Jump to the end value. | hold |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | list of float | Non-animated value. | value |
ix | int | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of OffsetKeyframe | keyframes | |
x | str | Expression. | expression |
sid | str | Slot name. | slot_id |
Imagine a quadratic bezier, with starting point at (0, 0) and end point at (1, 1).
out_value
and in_value
are the other two handles for a quadratic bezier, expressed as absolute values in this 0-1 space.
See also https://cubic-bezier.com/
Lottie name | Type | Description | Attribute |
---|---|---|---|
t | float | time | |
i | KeyframeBezierHandle | Bezier curve easing in value. | in_value |
o | KeyframeBezierHandle | Bezier curve easing out value. | out_value |
h | 0-1 int | Jump to the end value. | hold |
s | list of float | Start value of keyframe segment. | value |
e | list of float | End value of keyframe segment. | end |
Lottie name | Type | Description | Attribute |
---|---|---|---|
t | float | Start time of keyframe segment. | time |
i | KeyframeBezierHandle | Bezier curve easing in value. | in_value |
o | KeyframeBezierHandle | Bezier curve easing out value. | out_value |
h | 0-1 int | Jump to the end value. | hold |
s | list of float | value | |
e | list of float | End value of keyframe segment. | end |
ti | list of float | In Spatial Tangent. | in_tan |
to | list of float | Out Spatial Tangent. | out_tan |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | list of float | Non-animated value. | value |
ix | int | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of OffsetKeyframe | Keyframe list. | keyframes |
x | str | Expression. | expression |
sid | str | Slot name. | slot_id |
k | list of float | Non-animated value. | value |
ix | int | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of PositionKeyframe | Keyframe list. | keyframes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
t | float | Start time of keyframe segment. | time |
i | KeyframeBezierHandle | Bezier curve easing in value. | in_value |
o | KeyframeBezierHandle | Bezier curve easing out value. | out_value |
h | 0-1 int | Jump to the end value. | hold |
s | Bezier or list of Bezier | Start value of keyframe segment. | value |
e | Bezier or list of Bezier | End value of keyframe segment. | end |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | Bezier | Non-animated value. | value |
x | str | Expression. | expression |
ix | float | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of ShapePropKeyframe | Keyframe list. | keyframes |
sid | str | Slot name. | slot_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | float | Non-animated value. | value |
ix | int | Property index. | property_index |
a | 0-1 int | Whether it's animated. | animated |
k | list of OffsetKeyframe | Keyframe list. | keyframes |
x | str | Expression. | expression |
sid | str | Slot name. | slot_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
lc | LineCap | Stroke Line Cap. | line_cap |
lj | LineJoin | Stroke Line Join. | line_join |
ml | float | Stroke Miter Limit. | miter_limit |
ml2 | Value | Animatable alternative to ml. | animated_miter_limit |
o | Value | Stroke Opacity. | opacity |
w | Value | Stroke Width. | width |
d | list of StrokeDash | Dashes. | dashes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'el' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
d | ShapeDirection | After Effect's Direction. | direction |
p | PositionValue | Ellipse's position. | position |
s | MultiDimensional | Ellipse's size. | size |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'fl' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
o | Value | Fill Opacity. | opacity |
c | ColorValue | Fill Color. | color |
r | FillRule | Fill rule. | fill_rule |
Lottie name | Type | Description | Attribute |
---|---|---|---|
s | MultiDimensional | Gradient Start Point. | start_point |
e | MultiDimensional | Gradient End Point. | end_point |
t | GradientType | Gradient Type. | gradient_type |
h | Value | Gradient Highlight Length. | highlight_length |
a | Value | Highlight Angle. | highlight_angle |
g | GradientColors | Gradient Colors. | colors |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'gf' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
s | MultiDimensional | Gradient Start Point. | start_point |
e | MultiDimensional | Gradient End Point. | end_point |
t | GradientType | Gradient Type. | gradient_type |
h | Value | Gradient Highlight Length. | highlight_length |
a | Value | Highlight Angle. | highlight_angle |
g | GradientColors | Gradient Colors. | colors |
o | Value | Fill Opacity. | opacity |
r | FillRule | Fill rule. | fill_rule |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'gs' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
lc | LineCap | Stroke Line Cap. | line_cap |
lj | LineJoin | Stroke Line Join. | line_join |
ml | float | Stroke Miter Limit. | miter_limit |
ml2 | Value | Animatable alternative to ml. | animated_miter_limit |
o | Value | Fill Opacity. | opacity |
w | Value | Stroke Width. | width |
d | list of StrokeDash | Dashes. | dashes |
s | MultiDimensional | Gradient Start Point. | start_point |
e | MultiDimensional | Gradient End Point. | end_point |
t | GradientType | Gradient Type. | gradient_type |
h | Value | Gradient Highlight Length. | highlight_length |
a | Value | Highlight Angle. | highlight_angle |
g | GradientColors | Gradient Colors. | colors |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'gr' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
np | float | Group number of properties. | number_of_properties |
it | list of ShapeElement | Group list of items. | shapes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'mm' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
mm | MergeMode | Merge Mode. | merge_mode |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
1 | Normal | Normal | |
2 | Add | Add | |
3 | Subtract | Subtract | |
4 | Intersect | Intersect | |
5 | ExcludeIntersections | ExcludeIntersections |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'op' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
ty | str | shape_type | |
a | Value | amount | |
lj | LineJoin | line_join | |
ml | Value | miter_limit |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'sh' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
d | ShapeDirection | After Effect's Direction. | direction |
ks | ShapeProperty | Shape's vertices. | shape |
ind | int | index |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'pb' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
a | Value | amount |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'rc' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
d | ShapeDirection | After Effect's Direction. | direction |
p | PositionValue | Rect's position. | position |
s | MultiDimensional | Rect's size. | size |
r | Value | Rect's rounded corners. | rounded |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'rp' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
c | Value | Number of Copies. | copies |
o | Value | Offset of Copies. | offset |
m | Composite | Composite of copies. | composite |
tr | RepeaterTransform | Transform values for each repeater copy. | transform |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | PositionValue | Transform Anchor Point. | anchor_point |
p | PositionValue | Transform Position. | position |
s | MultiDimensional | Transform Scale. | scale |
r | Value | Transform Rotation. | rotation |
o | Value | Transform Opacity. | opacity |
sk | Value | Transform Skew. | skew |
sa | Value | Transform Skew Axis. | skew_axis |
or | MultiDimensional | orientation | |
so | Value | start_opacity | |
eo | Value | end_opacity |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'rd' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
r | Value | Rounded Corner Radius. | radius |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
d | ShapeDirection | After Effect's Direction. | direction |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
0 | Undefined | Undefined | |
1 | Normal | Usually clockwise. | Normal |
3 | Reversed | Usually counter clockwise. | Reversed |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'sr' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
d | ShapeDirection | After Effect's Direction. | direction |
p | PositionValue | Star's position. | position |
ir | Value | Star's inner radius. | inner_radius |
is | Value | Star's inner roundness. | inner_roundness |
or | Value | Star's outer radius. | outer_radius |
os | Value | Star's outer roundness. | outer_roundness |
r | Value | Star's rotation. | rotation |
pt | Value | Star's number of points. | points |
sy | StarType | Star's type. | star_type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'st' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
lc | LineCap | Stroke Line Cap. | line_cap |
lj | LineJoin | Stroke Line Join. | line_join |
ml | float | Stroke Miter Limit. | miter_limit |
ml2 | Value | Animatable alternative to ml. | animated_miter_limit |
o | Value | Stroke Opacity. | opacity |
w | Value | Stroke Width. | width |
d | list of StrokeDash | Dashes. | dashes |
c | ColorValue | Stroke Color. | color |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
n | StrokeDashType | type | |
v | Value | length |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'tr' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
a | PositionValue | anchor_point | |
p | PositionValue | Transform Position. | position |
s | MultiDimensional | Transform Scale. | scale |
r | Value | Transform Rotation. | rotation |
o | Value | Transform Opacity. | opacity |
sk | Value | Transform Skew. | skew |
sa | Value | Transform Skew Axis. | skew_axis |
or | MultiDimensional | orientation |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'tm' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
s | Value | Start of the segment, as a percentage. | start |
e | Value | End of the segment, as a percentage. | end |
o | Value | start/end offset, as an angle (0, 360) | offset |
m | TrimMultipleShapes | multiple |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
1 | Individually | Individually | |
2 | Simultaneously | Simultaneously |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'tw' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
a | Value | angle | |
c | MultiDimensional | center |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
hd | bool | Hide element. | hidden |
ty | str = 'zz' | Shape type. | type |
bm | BlendMode | Blend mode. | blend_mode |
ix | int | Property index. | property_index |
cl | str | CSS class used by the SVG renderer. | css_class |
ln | str | id attribute used by the SVG renderer | layer_xml_id |
ty | str | shape_type | |
r | Value | Number of ridges per segment. | frequency |
s | Value | Distance between peaks and troughs. | amplitude |
pt | Value | Point type (1 = corner, 2 = smooth) | point_type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 5 | type | |
ty | int = 5 | type | |
bs | Value | bevel_style | |
bt | Value | technique | |
sr | Value | strength | |
s | Value | size | |
sf | Value | soften | |
ga | Value | Use global light. | global_angle |
a | Value | Local lighting angle. | angle |
ll | Value | Local lighting altitude. | altitude |
hm | Value | highlight_mode | |
hc | ColorValue | highlight_color | |
ho | Value | highlight_opacity | |
sm | Value | shadow_mode | |
sc | ColorValue | shadow_color | |
so | Value | shadow_opacity |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 7 | type | |
ty | int = 7 | type | |
bm | Value | blend_mode | |
c | ColorValue | color | |
so | Value | opacity |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 1 | type | |
ty | int = 1 | type | |
c | ColorValue | color | |
o | Value | opacity | |
a | Value | Local light angle. | angle |
s | Value | Blur size. | size |
d | Value | distance | |
ch | Value | choke_spread | |
bm | Value | blend_mode | |
no | Value | noise | |
lc | Value | Layer knowck out drop shadow. | layer_conceal |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 8 | type | |
ty | int = 8 | type | |
bm | Value | blend_mode | |
o | Value | opacity | |
gf | GradientColors | gradient | |
gs | Value | smoothness | |
a | Value | angle | |
gt | GradientType | gradient_type | |
re | Value | reverse | |
al | Value | Align with layer. | align |
s | Value | scale | |
of | Value | offset |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 4 | type | |
ty | int = 4 | type | |
c | ColorValue | color | |
o | Value | opacity | |
r | Value | range | |
sr | Value | source | |
ch | Value | choke_spread | |
bm | Value | blend_mode | |
no | Value | noise | |
j | Value | jitter |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 2 | type | |
ty | int = 2 | type | |
c | ColorValue | color | |
o | Value | opacity | |
a | Value | Local light angle. | angle |
s | Value | Blur size. | size |
d | Value | distance | |
ch | Value | choke_spread | |
bm | Value | blend_mode | |
no | Value | noise |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int | type |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 3 | type | |
ty | int = 3 | type | |
c | ColorValue | color | |
o | Value | opacity | |
r | Value | range | |
ch | Value | choke_spread | |
bm | Value | blend_mode | |
no | Value | noise | |
j | Value | jitter |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 6 | type | |
ty | int = 6 | type | |
bm | Value | blend_mode | |
c | ColorValue | color | |
o | Value | opacity | |
a | Value | angle | |
d | Value | distance | |
s | Value | size | |
in | Value | invert |
Lottie name | Type | Description | Attribute |
---|---|---|---|
nm | str | name | |
mn | str | match_name | |
ty | int = 0 | type | |
ty | int = 0 | type | |
s | Value | size | |
c | ColorValue | color |
Lottie name | Type | Description | Attribute |
---|---|---|---|
shapes | list of ShapeElement | shapes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
ch | str | Character Value. | character |
fFamily | str | Character Font Family. | font_family |
size | float | Character Font Size. | font_size |
style | str | Character Font Style. | font_style |
w | float | Character Width. | width |
data | CharacterData | Character Data. | data |
Lottie name | Type | Description | Attribute |
---|---|---|---|
ascent | float | ascent | |
fFamily | str | font_family | |
fName | str | name | |
fStyle | str | font_style | |
fPath | str | path | |
fWeight | str | weight | |
origin | FontPathOrigin | origin | |
fClass | str | css_class |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
0 | Local | Local | |
1 | CssUrl | CssUrl | |
2 | ScriptUrl | ScriptUrl | |
3 | FontUrl | FontUrl |
Lottie name | Type | Description | Attribute |
---|---|---|---|
m | int | Index of the mask to use. | mask |
f | Value | first_margin | |
l | Value | last_margin | |
r | Value | reverse_path | |
a | Value | force_alignment | |
p | Value | perpendicular_to_path |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | list of TextAnimatorDataProperty | properties | |
d | TextData | data | |
m | TextMoreOptions | more_options | |
p | MaskedPath | masked_path |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | PositionValue | Transform Anchor Point. | anchor_point |
p | PositionValue | Transform Position. | position |
s | MultiDimensional | Transform Scale. | scale |
r | Value | Transform Rotation. | rotation |
o | Value | Transform Opacity. | opacity |
sk | Value | Transform Skew. | skew |
sa | Value | Transform Skew Axis. | skew_axis |
or | MultiDimensional | orientation | |
rx | Value | rotate_x | |
ry | Value | rotate_y | |
sw | Value | Stroke width. | stroke_width |
sc | ColorValue | Stroke color. | stroke_color |
sh | Value | stroke_hue | |
ss | Value | stroke_saturation | |
sb | Value | stroke_brightness | |
so | Value | stroke_opacity | |
fc | ColorValue | Fill color. | fill_color |
fh | Value | Hue. | fill_hue |
fs | Value | Saturation 0-100. | fill_saturation |
fb | Value | Brightness 0-100. | fill_brightness |
fo | Value | fill_opacity | |
t | Value | Tracking. | tracking |
s | MultiDimensional | Transform Scale. | scale |
bl | Value | blur | |
ls | Value | line_spacing |
Lottie name | Type | Description | Attribute |
---|---|---|---|
k | list of TextDataKeyframe | keyframes |
Lottie name | Type | Description | Attribute |
---|---|---|---|
s | TextDocument | Start value of keyframe segment. | start |
t | float | Start time of keyframe segment. | time |
Note that for multi-line text, lines are separated by \r
Lottie name | Type | Description | Attribute |
---|---|---|---|
f | str | font_family | |
fc | Color | Text color. | fill_color |
sc | Color | stroke_color | |
sw | float | stroke_width | |
of | bool | Render stroke above the fill. | stroke_over_fill |
s | float | Font Size. | font_size |
lh | float | Line height when wrapping. | line_height |
sz | list of float | Size of the box containing the text. | wrap_size |
ps | list of float | Position of the box containing the text. | wrap_position |
t | str | Text. | text |
j | TextJustify | Text alignment. | justify |
ca | TextCaps | Text caps. | text_caps |
tr | float | Text Tracking. | tracking |
ls | float | baseline_shift |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
1 | Characters | Characters | |
2 | Word | Word | |
3 | Line | Line | |
4 | All | All |
Lottie Value | Name | Description | Attribute |
---|---|---|---|
0 | Left | Left | |
1 | Right | Right | |
2 | Center | Center | |
3 | JustifyWithLastLineLeft | JustifyWithLastLineLeft | |
4 | JustifyWithLastLineRight | JustifyWithLastLineRight | |
5 | JustifyWithLastLineCenter | JustifyWithLastLineCenter | |
6 | JustifyWithLastLineFull | JustifyWithLastLineFull |
Lottie name | Type | Description | Attribute |
---|---|---|---|
a | MultiDimensional | alignment | |
g | TextGrouping | grouping |