PitchKit
API Reference@pitchkit/coreInterfaces

Arc

Defined in: packages/core/src/scene/geometry.ts:27

Described by center/radius plus explicit start/end points (rather than angles) so the renderer can feed coordinates straight through the same toPixel() transform as every other shape, and so SVG's arc path command (which takes endpoints, not angles) needs no extra conversion.

Properties

PropertyModifierTypeDefined in
centerreadonlyPointpackages/core/src/scene/geometry.ts:28
endreadonlyPointpackages/core/src/scene/geometry.ts:31
radiusreadonlynumberpackages/core/src/scene/geometry.ts:29
startreadonlyPointpackages/core/src/scene/geometry.ts:30

On this page