2.29. XControlPointData¶
2.29.1. Synopsis¶
2.29.1.2. Properties¶
property
active[read-write] of bool or NoneTypeproperty
corner[read-write] of bool or NoneTypeproperty
edge_angle_ratio[read-write] of float or NoneTypeproperty
edge_width[read-write] of float or NoneTypeproperty
weight[read-write] of float or NoneTypeproperty
x[read-write] of float or NoneTypeproperty
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
activestate of keyframe.
-
XControlPointData.corner¶ - Type
bool or NoneType
- Access
read-write Provides access to
cornerstate of keyframe.
-
XControlPointData.x¶ - Type
float or NoneType
- Access
read-write Provides access to
Xkeyframe point coordinate.
-
XControlPointData.y¶ - Type
float or NoneType
- Access
read-write Provides access to
Ykeyframe point coordinate.
-
XControlPointData.weight¶ - Type
float or NoneType
- Access
read-write Provides access to
weightvalue of keyframe.
-
XControlPointData.edge_width¶ - Type
float or NoneType
- Access
read-write Provides access to
edge widthvalue of keyframe.
-
XControlPointData.edge_angle_ratio¶ - Type
float or NoneType
- Access
read-write Provides access to
edge angle ratiovalue of keyframe.