Skip to main content

Interface: TracedPathOptions

Defined in: animation/changing/index.ts:15

Options for TracedPath

Properties

dissipatingTime?

optional dissipatingTime: number

Defined in: animation/changing/index.ts:23

Time in seconds for the trail to dissipate (0 = no dissipation). Default: 0


maxPoints?

optional maxPoints: number

Defined in: animation/changing/index.ts:27

Maximum number of points to store (for performance). Default: 1000


minDistanceToNewPoint?

optional minDistanceToNewPoint: number

Defined in: animation/changing/index.ts:25

Minimum distance between recorded points. Default: 0.05


strokeColor?

optional strokeColor: string

Defined in: animation/changing/index.ts:17

Stroke color of the path. Default: YELLOW


strokeOpacity?

optional strokeOpacity: number

Defined in: animation/changing/index.ts:21

Stroke opacity. Default: 1


strokeWidth?

optional strokeWidth: number

Defined in: animation/changing/index.ts:19

Stroke width of the path. Default: DEFAULT_STROKE_WIDTH