Skip to content

tracePieSector

tracePieSector(ctx, cx, cy, r0, r1, a0, a1): void

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

One pie wedge’s sector between radii r0 ≤ r1, angles in radians: r0 = 0 is the plain sector from the centre, r0 > 0 the annular sector of its outer band (#507). The one geometry the Canvas/SVG Scene pie (tracePieWedges, network/glyphs.ts) and the toSVG() export of the instanced pie trace, so the vector band meets the WebGL shader’s r > 1 − border test on the same circle.

PathRecorder

number

number

number

number

number

number

void