GPencilPaletteColor(bpy_struct)

base class — bpy_struct

class bpy.types.GPencilPaletteColor(bpy_struct)

Collection of related colors

alpha

Color Opacity

Type:float in [0, 1], default 0.0
color

Color for strokes

Type:float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
fill_alpha

Opacity for filling region bounded by each stroke

Type:float in [0, 1], default 0.0
fill_color

Color for filling region bounded by each stroke

Type:float array of 3 items in [0, 1], default (0.0, 0.0, 0.0)
ghost

Display strokes using this color when showing onion skins

Type:boolean, default False
hide

Set color Visibility

Type:boolean, default False
is_fill_visible

True when opacity of fill is set high enough to be visible

Type:boolean, default False, (readonly)
is_stroke_visible

True when opacity of stroke is set high enough to be visible

Type:boolean, default False, (readonly)
lock

Protect color from further editing and/or frame changes

Type:boolean, default False
name

Color name

Type:string, default “”, (never None)
use_hq_fill

Fill strokes using high quality to avoid glitches (slower fps during animation play)

Type:boolean, default False
use_volumetric_strokes

Draw strokes as a series of circular blobs, resulting in a volumetric effect

Type:boolean, default False
classmethod bl_rna_get_subclass(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The RNA type or default when not found.
Return type:bpy.types.Struct subclass
classmethod bl_rna_get_subclass_py(id, default=None)
Parameters:id (string) – The RNA type identifier.
Returns:The class or default when not found.
Return type:type

Inherited Properties

Inherited Functions

References