python-lottie  0.6.10+dev4166086
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.objects.shapes.StrokeDash Class Reference
Inheritance diagram for lottie.objects.shapes.StrokeDash:
[legend]
Collaboration diagram for lottie.objects.shapes.StrokeDash:
[legend]

Public Member Functions

def __init__ (self, length=0, type=StrokeDashType.Dash)
 
def __str__ (self)
 
- Public Member Functions inherited from lottie.objects.base.LottieObject
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...
 
- Public Member Functions inherited from lottie.objects.base.LottieObjectMeta
def __new__ (cls, name, bases, attr)
 

Public Attributes

 name
 
 type
 
 length
 

Detailed Description

Lottie JSON
Lottie name Type Description Attribute
nm str   name
n StrokeDashType   type
v Value   length

Definition at line 603 of file shapes.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.objects.shapes.StrokeDash.__init__ (   self,
  length = 0,
  type = StrokeDashType.Dash 
)

Definition at line 610 of file shapes.py.

Member Function Documentation

◆ __str__()

def lottie.objects.shapes.StrokeDash.__str__ (   self)

Reimplemented from lottie.objects.base.LottieObject.

Definition at line 615 of file shapes.py.

Member Data Documentation

◆ length

lottie.objects.shapes.StrokeDash.length

Definition at line 613 of file shapes.py.

◆ name

lottie.objects.shapes.StrokeDash.name

Definition at line 611 of file shapes.py.

◆ type

lottie.objects.shapes.StrokeDash.type

Definition at line 612 of file shapes.py.


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