Skip to content

Documentation / @ripl/core / PathPoint

Type Alias: PathPoint ​

PathPoint = object

Defined in: packages/core/src/math/geometry.ts:229

A sampled point on an SVG path with position and tangent angle.

Properties ​

angle ​

angle: number

Defined in: packages/core/src/math/geometry.ts:235

The tangent angle of the path at the sampled point, in radians.


x ​

x: number

Defined in: packages/core/src/math/geometry.ts:231

The x-coordinate of the sampled point.


y ​

y: number

Defined in: packages/core/src/math/geometry.ts:233

The y-coordinate of the sampled point.