LineStyleGeometryModifier_2DTransform(LineStyleGeometryModifier)

base classes — bpy_struct, LineStyleModifier, LineStyleGeometryModifier

class bpy.types.LineStyleGeometryModifier_2DTransform.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 [‘2D_OFFSET’, ‘2D_TRANSFORM’, ‘BACKBONE_STRETCHER’, ‘BEZIER_CURVE’, ‘BLUEPRINT’, ‘GUIDING_LINES’, ‘PERLIN_NOISE_1D’, ‘PERLIN_NOISE_2D’, ‘POLYGONIZATION’, ‘SAMPLING’, ‘SIMPLIFICATION’, ‘SINUS_DISPLACEMENT’, ‘SPATIAL_NOISE’, ‘TIP_REMOVER’], 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

  • bpy_struct.id_data

Inherited Functions

  • bpy_struct.as_pointer

  • bpy_struct.driver_add

  • bpy_struct.driver_remove

  • bpy_struct.get

  • bpy_struct.is_property_hidden

  • bpy_struct.is_property_overridable_library

  • bpy_struct.is_property_readonly

  • bpy_struct.is_property_set

  • bpy_struct.items

  • bpy_struct.keyframe_delete

  • bpy_struct.keyframe_insert

  • bpy_struct.keys

  • bpy_struct.path_from_id

  • bpy_struct.path_resolve

  • bpy_struct.pop

  • bpy_struct.property_overridable_library_set

  • bpy_struct.property_unset

  • bpy_struct.type_recast

  • bpy_struct.values

  • LineStyleModifier.bl_rna_get_subclass

  • LineStyleModifier.bl_rna_get_subclass_py

  • LineStyleGeometryModifier.bl_rna_get_subclass

  • LineStyleGeometryModifier.bl_rna_get_subclass_py