Skip to main content

CircleSegment

class CircleSegment extends Segment

Constructors

constructor

public override new CircleSegmentcenter: Vector2radius: numberfrom: Vector2to: Vector2counter: boolean: CircleSegment

Parameters

Overwrites Segment.constructor

Properties

points

readonly public points: Vector2[]

Accessors

arcLength

public get override arcLength(): number
Overwrites Segment.arcLength

Methods

draw

Parameters

Overwrites Segment.draw

getPoint

public override getPointdistance: number: CurvePoint

Parameters

Overwrites Segment.getPoint