GreasePencilDashModifierSegment(bpy_struct)#

base class — bpy_struct

class bpy.types.GreasePencilDashModifierSegment(bpy_struct)#

Configuration for a single dash segment

dash#

The number of consecutive points from the original stroke to include in this segment

Type:

int in [1, 32767], default 2

gap#

The number of points skipped after this segment

Type:

int in [0, 32767], default 1

material_index#

Use this index on generated segment. -1 means using the existing material.

Type:

int in [-1, 32767], default -1

name#

Name of the dash segment

Type:

string, default “”, (never None)

opacity#

The factor to apply to the original point’s opacity for the new points

Type:

float in [0, 1], default 1.0

radius#

The factor to apply to the original point’s radius for the new points

Type:

float in [0, 1], default 1.0

use_cyclic#

Enable cyclic on individual stroke dashes

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#