|
def | __init__ (self, font_family="sans", font_style="Regular", name=None) |
|
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) |
|
def | __new__ (cls, name, bases, attr) |
|
- Lottie JSON
-
Definition at line 210 of file text.py.
◆ __init__()
def lottie.objects.text.Font.__init__ |
( |
|
self, |
|
|
|
font_family = "sans" , |
|
|
|
font_style = "Regular" , |
|
|
|
name = None |
|
) |
| |
◆ ascent
lottie.objects.text.Font.ascent |
◆ css_class
lottie.objects.text.Font.css_class |
◆ font_family
lottie.objects.text.Font.font_family |
◆ font_style
lottie.objects.text.Font.font_style |
◆ name
lottie.objects.text.Font.name |
◆ origin
lottie.objects.text.Font.origin |
◆ path
lottie.objects.text.Font.path |
◆ weight
lottie.objects.text.Font.weight |
The documentation for this class was generated from the following file: