Coverage for lib/lottie/objects/enums.py: 88%

17 statements  

« prev     ^ index     » next       coverage.py v7.2.2, created at 2023-03-20 16:17 +0100

1from .base import LottieEnum 

2 

3 

4## @ingroup Lottie 

5class TextBased(LottieEnum): 

6 Characters = 1 

7 CharacterExcludingSpaces = 2 

8 Words = 3 

9 Lines = 4 

10 

11 @classmethod 

12 def default(cls): 

13 return cls.Characters 

14 

15 

16## @ingroup Lottie 

17class TextShape(LottieEnum): 

18 Square = 1 

19 RampUp = 2 

20 RampDown = 3 

21 Triangle = 4 

22 Round = 5 

23 Smooth = 6 

24 

25 @classmethod 

26 def default(cls): 

27 return cls.Square