python-lottie
0.7.0+dev66cafb9
A framework to work with lottie files and telegram animated stickers (tgs)
|
Public Member Functions | |
def | __init__ (self, center, radii, xrot) |
def | point (self, t) |
def | derivative (self, t) |
def | to_bezier_points (self, anglestart, angle_delta, step=math.pi/2) |
def | to_bezier (self, angle_start, angle_delta, step=math.pi/2) |
def | from_svg_arc (cls, start, rx, ry, xrot, large, sweep, dest) |
Public Attributes | |
center | |
radii | |
xrot | |
Definition at line 8 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.__init__ | ( | self, | |
center, | |||
radii, | |||
xrot | |||
) |
@param center 2D vector, center of the ellipse @param radii 2D vector, x/y radius of the ellipse @param xrot Angle between the main axis of the ellipse and the x axis (in radians)
Definition at line 9 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.derivative | ( | self, | |
t | |||
) |
Definition at line 30 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.from_svg_arc | ( | cls, | |
start, | |||
rx, | |||
ry, | |||
xrot, | |||
large, | |||
sweep, | |||
dest | |||
) |
Definition at line 90 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.point | ( | self, | |
t | |||
) |
Definition at line 19 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.to_bezier | ( | self, | |
angle_start, | |||
angle_delta, | |||
step = math.pi / 2 |
|||
) |
Definition at line 74 of file ellipse.py.
def lottie.utils.ellipse.Ellipse.to_bezier_points | ( | self, | |
anglestart, | |||
angle_delta, | |||
step = math.pi / 2 |
|||
) |
Definition at line 39 of file ellipse.py.
lottie.utils.ellipse.Ellipse.center |
Definition at line 15 of file ellipse.py.
lottie.utils.ellipse.Ellipse.radii |
Definition at line 16 of file ellipse.py.
lottie.utils.ellipse.Ellipse.xrot |
Definition at line 17 of file ellipse.py.