halo
import { halo } from 'pixi-silk/glow';
function halo(
color: ColorSource,
size?: number,
rings?: number
): GlowLayer[];
A soft halo only, no core: rings additive passes of the shape (default 3), each wider and fainter,
returned back to front. size (default 100) scales the blur and spread.
Parameters#
| Parameter | Type | Default value |
|---|---|---|
color | ColorSource | undefined |
size | number | 100 |
rings | number | 3 |