GPencilStroke(bpy_struct)¶
base class — bpy_struct
-
class
bpy.types.GPencilStroke(bpy_struct)¶ Freehand curve defining part of a sketch
-
draw_mode¶ SCREENScreen, Stroke is in screen-space.3DSPACE3D Space, Stroke is in 3D-space.2DSPACE2D Space, Stroke is in 2D-space.2DIMAGE2D Image, Stroke is in 2D-space (but with special ‘image’ scaling).
Type: enum in [‘SCREEN’, ‘3DSPACE’, ‘2DSPACE’, ‘2DIMAGE’], default ‘SCREEN’
-
points¶ Stroke data points
Type: GPencilStrokePointsbpy_prop_collectionofGPencilStrokePoint, (readonly)
-
select¶ Stroke is selected for viewport editing
Type: boolean, default False
-
Inherited Properties
Inherited Functions
References