Appearance
pixi-hm05 (player) / pixi-hm05 / gradientReach
Function: gradientReach()
ts
function gradientReach(g, points): number;How far (in unit radii) the shape's points reach from the gradient's centre: a reflecting radial gradient is drawn that far (pad: 1 — the clamped edge is already the last colour).
Parameters
| Parameter | Type |
|---|---|
g | GradientSpec |
points | Iterable<{ x: number; y: number; }> |
Returns
number