GradientUnits
import type { GradientUnits } from 'pixi-silk';
type GradientUnits = "shape" | "local";
Gradient coordinates: shape = fractions of each painted shape’s box, local = the graphics’ local units (one ramp across many shapes).
import type { GradientUnits } from 'pixi-silk';
type GradientUnits = "shape" | "local";
Gradient coordinates: shape = fractions of each painted shape’s box, local = the graphics’ local units (one ramp across many shapes).