python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.properties.SplitVector Class Reference

An animatable property that is split into individually anaimated components. More...

Inheritance diagram for lottie.objects.properties.SplitVector:
[legend]
Collaboration diagram for lottie.objects.properties.SplitVector:
[legend]

Public Member Functions

def split (self)
 
def __init__ (self, x=0, y=0)
 
- Public Member Functions inherited from lottie.objects.base.LottieObject
def __init__ (self)
 
def to_dict (self)
 Serializes into a JSON object fit for the Lottie format. More...
 
def load (cls, lottiedict)
 Loads from a JSON object. More...
 
def find (self, search, propname="name")
 Recursively searches for child objects with a matching property. More...
 
def find_all (self, type, predicate=None, include_self=True)
 Find all child objects that match a predicate. More...
 
def clone (self)
 Returns a copy of the object. More...
 
def clone_into (self, other)
 
def __str__ (self)
 
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
 

Public Attributes

 x
 
 y
 
 z
 

Detailed Description

An animatable property that is split into individually anaimated components.

Lottie JSON
Lottie name Type Description Attribute
s bool   split
x Value   x
y Value   y
z Value   z

Definition at line 822 of file properties.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.properties.SplitVector.__init__ (   self,
  x = 0,
  y = 0 
)

Definition at line 837 of file properties.py.

Member Function Documentation

◆ split()

def lottie.objects.properties.SplitVector.split (   self)

Definition at line 834 of file properties.py.

Member Data Documentation

◆ x

lottie.objects.properties.SplitVector.x

Definition at line 840 of file properties.py.

◆ y

lottie.objects.properties.SplitVector.y

Definition at line 841 of file properties.py.

◆ z

lottie.objects.properties.SplitVector.z

Definition at line 842 of file properties.py.


The documentation for this class was generated from the following file: