Curve

LineCurve

A curve representing a 2D line segment.

Constructor

LineCurve(v1 : Vector2, v2 : Vector2)

v1 – The start point.
v2 — The end point.

Properties

See the base Curve class for common properties.

.v1 : Vector2

The start point.

.v2 : Vector2

The end point

Methods

See the base Curve class for common methods.

Source

For more info on how to obtain the source code of this module see this page.