-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Description
There are two enums defined in the graphics module, but they aren't used in the BlendMode class:
class Factor(IntEnum):
...
class Equation(IntEnum):
...
The BlendMode class has various properties, that should give values from the above enums and not regular numbers:
BlendMode.color_dst_factor
BlendMode.color_equation
BlendMode.alpha_src_factor
BlendMode.alpha_dst_factor
BlendMode.alpha_equation
This would improve readability, because enums have the name property (using it in the BlendMode.__repr__() would be great too).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels