LineSegment
class LineSegment extends Segment
Constructors
constructor
Parameters
OverwritesSegment.constructorProperties
from
points
to
Accessors
arcLength
public get override arcLength(): number
Segment.arcLengthMethods
draw
Parameters
OverwritesSegment.drawgetPoint
public override getPointdistance: number: CurvePoint
Parameters
distance: number
Segment.getPointtoSVGCommands
Convert this segment to SVG path commands.
Parameters
start: number = 0Start distance along the segment (0 to arcLength)
end: number = 1End distance along the segment (0 to arcLength)
move: boolean = falseWhether to include a moveTo command at the start
Segment.toSVGCommands