python-lottie  0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
lottie.parsers.sif.xml.animatable.XmlParam Class Reference
Inheritance diagram for lottie.parsers.sif.xml.animatable.XmlParam:
[legend]
Collaboration diagram for lottie.parsers.sif.xml.animatable.XmlParam:
[legend]

Public Member Functions

def __init__ (self, name, typename, default=None, type_wrapper=noop, static=False)
 
def from_xml (self, obj, minidom.Element parent, ObjectRegistry registry)
 
def to_xml (self, obj, minidom.Element parent, minidom.Document dom)
 
def from_python (self, value)
 
def default (self)
 
- Public Member Functions inherited from lottie.parsers.sif.xml.core_nodes.XmlDescriptor
def __init__ (self, name)
 
def initialize_object (self, dict, obj)
 
def clean (self, value)
 
def __repr__ (self)
 

Public Attributes

 type
 
 static
 
- Public Attributes inherited from lottie.parsers.sif.xml.core_nodes.XmlDescriptor
 name
 
 att_name
 

Detailed Description

Definition at line 49 of file animatable.py.

Constructor & Destructor Documentation

◆ __init__()

def lottie.parsers.sif.xml.animatable.XmlParam.__init__ (   self,
  name,
  typename,
  default = None,
  type_wrapper = noop,
  static = False 
)

Definition at line 50 of file animatable.py.

Member Function Documentation

◆ default()

def lottie.parsers.sif.xml.animatable.XmlParam.default (   self)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 98 of file animatable.py.

◆ from_python()

def lottie.parsers.sif.xml.animatable.XmlParam.from_python (   self,
  value 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 91 of file animatable.py.

◆ from_xml()

def lottie.parsers.sif.xml.animatable.XmlParam.from_xml (   self,
  obj,
minidom.Element  parent,
ObjectRegistry  registry 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 59 of file animatable.py.

◆ to_xml()

def lottie.parsers.sif.xml.animatable.XmlParam.to_xml (   self,
  obj,
minidom.Element  parent,
minidom.Document  dom 
)

Reimplemented from lottie.parsers.sif.xml.core_nodes.XmlDescriptor.

Definition at line 77 of file animatable.py.

Member Data Documentation

◆ static

lottie.parsers.sif.xml.animatable.XmlParam.static

Definition at line 53 of file animatable.py.

◆ type

lottie.parsers.sif.xml.animatable.XmlParam.type

Definition at line 52 of file animatable.py.


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