Skip to content

pieToDrawables

pieToDrawables(p, screen, tolerance?): DrawableVector[]

Defined in: core/instanced-vector.ts:128

Instanced pie wedges → one filled arc sector per wedge. Screen sizeMode pins the sector at a constant pixel size around its (projected) centre via the drawable anchor, as tracePieWedges does — so a screen wedge is an anchored glyph and bakes at anchoredCurveTolerance, exactly like its Canvas/SVG Scene twin (#283); a world wedge is world-scaled and bakes at tolerance.

InstancedPieData

boolean

number = DEFAULT_CURVE_TOLERANCE

DrawableVector[]