NeonOptions
import type { NeonOptions } from 'pixi-silk/glow';
Options of neon.
Properties#
| Property | Type | Description | Defined in |
|---|---|---|---|
core? | ColorSource | Gradient | Paint of the solid core, a colour or a gradient. Default a radial gradient from a pale tint to the glow colour. | glow/recipes.ts:10 |
intensity? | number | Strength of the bloom, from 0 to about 2. Negative values count as 0. Default 1. | glow/recipes.ts:12 |
size? | number | Rough size of the shape in local units. Every blur and spread scales with it. Tuned at 100. Default 100. | glow/recipes.ts:8 |
surface? | "light" | "dark" | What the glow sits on. Light adds up on dark surfaces. On light ones (white cards) added light would vanish, so the passes paint normally. Default dark. | glow/recipes.ts:17 |