跳转到内容

TCurveInfo

TCurveInfo<C>: TPathSegmentInfoCommon<C> & object

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

Defined in

src/util/path/typedefs.ts:11