drawHandle
import { drawHandle } from 'pixi-silk/ui/color';
function drawHandle(
g: SilkGraphics,
x: number,
y: number,
r: number,
rgb: RGB,
alpha?: number
): void;
A picker handle: the colour it points at inside a white ring, with a soft shadow and a thin dark
rim so it reads on light and dark colours alike. alpha below 1 shows a checker inside.
Parameters#
| Parameter | Type | Default value |
|---|---|---|
g | SilkGraphics | undefined |
x | number | undefined |
y | number | undefined |
r | number | undefined |
rgb | RGB | undefined |
alpha | number | 1 |
Returns#
void