Class DrawingGradientKind
- class ooodev.utils.kind.drawing_gradient_kind.DrawingGradientKind(value)[source]
Drawing (some) Gradient Values. The actual value may change from version to version and may be different in other languages.
These are just quick suggestion that show up in Draw Gradient colors.
- static from_str(s)[source]
Gets an
DrawingGradientKind
instance from string.- Parameters:
s (str) – String that represents the name of an enum Name.
s
is case insensitive and can beCamelCase
,pascal_case
,snake_case
,hyphen-case
,normal case
.- Raises:
ValueError – If input string is empty.
AttributeError – If unable to get
DrawingGradientKind
instance.
- Returns:
Enum instance.
- Return type:
- BLANK_WITH_GRAY = 'Blank with Gray'
- BLUE_TOUCH = 'Blue Touch'
- DEEP_OCEAN = 'Deep Ocean'
- GREEN_GRASS = 'Green Grass'
- LONDON_MIST = 'London Mist'
- MAHOGANY = 'Mahogany'
- MIDNIGHT = 'Midnight'
- NEON_LIGHT = 'Neon Light'
- PASTEL_BOUQUET = 'Pastel Bouquet'
- PASTEL_DREAM = 'Pastel Dream'
- PRESENT = 'Present'
- SPOTTED_GRAY = 'Spotted Gray'
- SUBMARINE = 'Submarine'
- SUNSHINE = 'Sunshine'
- TEAL_TO_BLUE = 'Teal to Blue'