Skip to content

TCurveInfo

TCurveInfo<C>: TPathSegmentInfoCommon<C> & object

Defined in: src/util/path/typedefs.ts:11

Type declaration

angleFinder()

angleFinder: (pct) => number

Get the angle to a percent

Parameters

pct

number

Returns

number

iterator()

iterator: (pct) => Point

Get the Point a certain percent distance along the curve

Parameters

pct

number

Returns

Point

length

length: number

Total length of the curve

Type Parameters

C extends string