Skip to content

Path2DControlPoint

Not yet Datatype

Stores the info for a single control point used with the Path2D instance.

Not implemented in Nova

This datatype is not registered in Nova's Lua VM. Constructing or receiving it from an API call will not work.

Description

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

Constructors

new Not yet Returns an empty Path2DControlPoint.
Path2DControlPoint.new()

Returns an empty Path2DControlPoint.

new Not yet Returns a Path2DControlPoint with only the position set.
Path2DControlPoint.new(Position: UDim2)

Returns a Path2DControlPoint with only the position set.

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

new Not yet Returns a Path2DControlPoint with the position, left tangent, and right tangent set.
Path2DControlPoint.new(Position: UDim2, Left Tangent: UDim2, Right Tangent: UDim2)

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

Properties

Position Not yet The position of the Path2DControlPoint.
Path2DControlPoint.Position()

The position of the Path2DControlPoint.

The position of the Path2DControlPoint relative to the path's container.

LeftTangent Not yet The left tangent of the Path2DControlPoint.
Path2DControlPoint.LeftTangent()

The left tangent of the Path2DControlPoint.

RightTangent Not yet The right tangent of the Path2DControlPoint.
Path2DControlPoint.RightTangent()

The right tangent of the Path2DControlPoint.

Roblox reference: Path2DControlPoint