PaletteColors(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.
PaletteColors
(bpy_struct)¶ Collection of palette colors
-
active
¶ Type: PaletteColor
-
new
()¶ Add a new color to the palette
Returns: The newly created color Return type: PaletteColor
-
remove
(color)¶ Remove a color from the palette
Parameters: color ( PaletteColor
, (never None)) – The color to remove
-
clear
()¶ Remove all colors from the palette
-
Inherited Properties
Inherited Functions
References