mirror of
https://github.com/OpenVGLab/OmniLottie.git
synced 2026-09-16 23:26:26 +00:00
Initial Commit
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
from .base import LottieEnum
|
||||
|
||||
|
||||
## @ingroup Lottie
|
||||
class TestBased(LottieEnum):
|
||||
Characters = 1
|
||||
CharacterExcludingSpaces = 2
|
||||
Words = 3
|
||||
Lines = 4
|
||||
|
||||
@classmethod
|
||||
def default(cls):
|
||||
return cls.Characters
|
||||
|
||||
|
||||
## @ingroup Lottie
|
||||
class TextShape(LottieEnum):
|
||||
Square = 1
|
||||
RampUp = 2
|
||||
RampDown = 3
|
||||
Triangle = 4
|
||||
Round = 5
|
||||
Smooth = 6
|
||||
|
||||
@classmethod
|
||||
def default(cls):
|
||||
return cls.Square
|
||||
|
||||
|
||||
## @ingroup Lottie
|
||||
class TextGrouping(LottieEnum):
|
||||
Characters = 1
|
||||
Word = 2
|
||||
Line = 3
|
||||
All = 4
|
||||
|
||||
@classmethod
|
||||
def default(cls):
|
||||
return cls.Characters
|
||||
Reference in New Issue
Block a user