2.24. XControlPointData¶
2.24.1. Synopsis¶
2.24.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.24.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.__eq__(xcpd)¶
Return type: PySide2.QtCore.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.