LineCurve - Verge3D User Manual - Soft8Soft
Description: Learn how to use LineCurve in your interactive 3D apps made with Verge3D

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.