Data type
Path2DControlPoint
Stores the info for a single control point used with the Path2D
instance.
The Path2DControlPoint data type represents a single control point used with
the Path2D instance.
Constructors 3#
| new | Returns an empty Path2DControlPoint. |
| new | Returns a Path2DControlPoint with only the position set. |
| new | Returns a Path2DControlPoint with the position, left tangent,
and right tangent set. |
new()#
Returns an empty Path2DControlPoint.
new(Position: UDim2)#
Returns a Path2DControlPoint with the position set. This
constructor will set the tangents to default UDim2 values.
new(Position: UDim2, Left Tangent: UDim2, Right Tangent: UDim2)#
Returns a Path2DControlPoint with the position, left tangent,
and right tangent set.
Properties 3#
PositionUDim2 | The position of the Path2DControlPoint. |
LeftTangentUDim2 | The left tangent of the Path2DControlPoint. |
RightTangentUDim2 | The right tangent of the Path2DControlPoint. |
Position: UDim2#
The position of the Path2DControlPoint relative to the path's
container.
LeftTangent: UDim2#
The left tangent of the Path2DControlPoint.
RightTangent: UDim2#
The right tangent of the Path2DControlPoint.