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

Type

float in [-inf, inf], default 0.0

expanded

True if the modifier tab is expanded

Type

boolean, default False

name

Name of the modifier

Type

string, default “”, (never None)

pivot

Pivot of scaling and rotation operations

Type

enum in [‘CENTER’, ‘START’, ‘END’, ‘PARAM’, ‘ABSOLUTE’], default ‘CENTER’

pivot_u

Pivot in terms of the stroke point parameter u (0 <= u <= 1)

Type

float in [0, 1], default 0.0

pivot_x

2D X coordinate of the absolute pivot

Type

float in [-inf, inf], default 0.0

pivot_y

2D Y coordinate of the absolute pivot

Type

float in [-inf, inf], default 0.0

scale_x

Scaling factor that is applied along the X axis

Type

float in [-inf, inf], default 0.0

scale_y

Scaling factor that is applied along the Y axis

Type

float in [-inf, inf], default 0.0

type

Type of the modifier

Type

enum in Linestyle Geometry Modifier Type Items, default ‘2D_OFFSET’, (readonly)

use

Enable or disable this modifier during stroke rendering

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