Skip to main content

Segment

abstract class Segment 

Extended by

Constructors

constructor

public new Segment(): Segment

Properties

points

abstract readonly public points: Vector2[]

Accessors

arcLength

abstract public get arcLength(): number

Methods

draw

abstract public drawcontext: CanvasRenderingContext2DPath2Dstart: numberend: numbermove: boolean: CurvePointCurvePoint

Parameters


getPoint

abstract public getPointdistance: number: CurvePoint

Parameters