2.26. XControlPointData¶
2.26.1. Synopsis¶
2.26.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.26.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 (
mocha.project.OptionalBool
) – Active state of keyframe.corner (
mocha.project.OptionalBool
) – Corner state of keyframe.x (
mocha.project.OptionalFloat
) – X coordinate value of keyframe.y (
mocha.project.OptionalFloat
) – Y coordinate value of keyframe.weight (
mocha.project.OptionalFloat
) – Weight value of keyframe.edge_width (
mocha.project.OptionalFloat
) – Edge width of keyframe.edge_angle_ratio (
mocha.project.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.