Path2DControlPoint

Show Deprecated

The Path2DControlPoint data type represents a single control point used with the Path2D instance.

Summary

Constructors

Properties

Constructors

new

Returns an empty Path2DControlPoint.

new

Returns a Path2DControlPoint with the position set. This constructor will set the tangents to default UDim2 values.

Parameters

Position: UDim2

The UDim2 position of the control point.

new

Returns a Path2DControlPoint with the position, left tangent, and right tangent set.

Parameters

Position: UDim2

The UDim2 position of the control point.

Left Tangent: UDim2

The UDim2 left tangent of the control point.

Right Tangent: UDim2

The UDim2 right tanget of the control point.

Properties

Position

The position of the Path2DControlPoint.

LeftTangent

The left tangent of the Path2DControlPoint.

RightTangent

The right tangent of the Path2DControlPoint.