2.29. XControlPointData

2.29.1. Synopsis

2.29.1.1. Functions

2.29.1.2. Properties

  • property active [read-write] of bool or NoneType

  • property corner [read-write] of bool or NoneType

  • property edge_angle_ratio [read-write] of float or NoneType

  • property edge_width [read-write] of float or NoneType

  • property weight [read-write] of float or NoneType

  • property x [read-write] of float or NoneType

  • property y [read-write] of float or NoneType

2.29.2. Detailed Description

XControlPointData class. Provides access to individual parameters for each X-Spline contour control point.

class mocha.project.XControlPointData([active=OptionalBool()[, corner=OptionalBool()[, x=OptionalFloat()[, y=OptionalFloat()[, weight=OptionalFloat()[, edge_width=OptionalFloat()[, edge_angle_ratio=OptionalFloat()]]]]]]])
Parameters
  • active (OptionalBool) – Active state of keyframe.

  • corner (OptionalBool) – Corner state of keyframe.

  • x (OptionalFloat) – X coordinate value of keyframe.

  • y (OptionalFloat) – Y coordinate value of keyframe.

  • weight (OptionalFloat) – Weight value of keyframe.

  • edge_width (OptionalFloat) – Edge width of keyframe.

  • edge_angle_ratio (OptionalFloat) – Edge angle ratio value of keyframe.

Constructs new XControlPointData instance with given parameters.

class mocha.project.XControlPointData(XControlPointData)
XControlPointData.__ne__(xcpd)
Return type

bool

XControlPointData.__eq__(xcpd)
Return type

bool

XControlPointData.active
Type

bool or NoneType

Access

read-write Provides access to active state of keyframe.

XControlPointData.corner
Type

bool or NoneType

Access

read-write Provides access to corner state of keyframe.

XControlPointData.x
Type

float or NoneType

Access

read-write Provides access to X keyframe point coordinate.

XControlPointData.y
Type

float or NoneType

Access

read-write Provides access to Y keyframe point coordinate.

XControlPointData.weight
Type

float or NoneType

Access

read-write Provides access to weight value of keyframe.

XControlPointData.edge_width
Type

float or NoneType

Access

read-write Provides access to edge width value of keyframe.

XControlPointData.edge_angle_ratio
Type

float or NoneType

Access

read-write Provides access to edge angle ratio value of keyframe.