Colord.ColorSwatch¶
Fields¶
None
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Colord.ColorSwatch¶
- classmethod new()[source]¶
- Returns:
A newly allocated
Colord.ColorSwatch
object- Return type:
Allocates a color value.
New in version 0.1.32.
- set_name(name)[source]¶
- Parameters:
name (
str
) – component name
Initialises a swatch name.
New in version 0.1.32.
- set_value(value)[source]¶
- Parameters:
value (
Colord.ColorLab
) – component value
Initialises a swatch value.
New in version 0.1.32.