GPencilStrokePoint(bpy_struct)#

base class — bpy_struct

class bpy.types.GPencilStrokePoint(bpy_struct)#

Data point for freehand stroke curve

co#
Type:

mathutils.Vector of 3 items in [-inf, inf], default (0.0, 0.0, 0.0)

pressure#

Pressure of tablet at point when drawing it

Type:

float in [0, inf], default 0.0

select#

Point is selected for viewport editing

Type:

boolean, default False

strength#

Color intensity (alpha factor)

Type:

float in [0, 1], default 0.0

time#

Time relative to stroke start

Type:

float in [-inf, inf], default 0.0, (readonly)

uv_factor#

Internal UV factor

Type:

float in [0, 1], default 0.0

uv_fill#

Internal UV factor for filling

Type:

mathutils.Vector of 2 items in [-inf, inf], default (0.0, 0.0)

uv_rotation#

Internal UV factor for dot mode

Type:

float in [-1.5708, 1.5708], default 0.0

vertex_color#

Color used to mix with point color to get final color

Type:

float array of 4 items in [0, 1], default (0.0, 0.0, 0.0, 0.0)

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#