LineStyleGeometryModifier_2DTransform(LineStyleGeometryModifier)

base classes — bpy_struct, LineStyleModifier, LineStyleGeometryModifier

class bpy.types.LineStyleGeometryModifier_2DTransform(LineStyleGeometryModifier)

Apply two-dimensional scaling and rotation to stroke backbone geometry

angle

Rotation angle (in [-inf, inf], default 0.0)

Type:

float

expanded

True if the modifier tab is expanded (default False)

Type:

bool

pivot

Pivot of scaling and rotation operations (default 'CENTER')

Type:

Literal[‘CENTER’, ‘START’, ‘END’, ‘PARAM’, ‘ABSOLUTE’]

pivot_u

Pivot in terms of the stroke point parameter u (0 <= u <= 1) (in [0, 1], default 0.0)

Type:

float

pivot_x

2D X coordinate of the absolute pivot (in [-inf, inf], default 0.0)

Type:

float

pivot_y

2D Y coordinate of the absolute pivot (in [-inf, inf], default 0.0)

Type:

float

scale_x

Scaling factor that is applied along the X axis (in [-inf, inf], default 0.0)

Type:

float

scale_y

Scaling factor that is applied along the Y axis (in [-inf, inf], default 0.0)

Type:

float

type

Type of the modifier (default '2D_OFFSET', readonly)

Type:

Literal[Linestyle Geometry Modifier Type Items]

use

Enable or disable this modifier during stroke rendering (default False)

Type:

bool

classmethod bl_rna_get_subclass(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (bpy.types.Struct | None) – The value to return when not found.

Returns:

The RNA type or default when not found.

Return type:

bpy.types.Struct

classmethod bl_rna_get_subclass_py(id, default=None, /)
Parameters:
  • id (str) – The RNA type identifier.

  • default (type | None) – The value to return when not found.

Returns:

The class or default when not found.

Return type:

type

Inherited Properties

Inherited Functions