drawIslandShape
import { drawIslandShape } from 'pixi-silk/ui/island';
function drawIslandShape(
g: SilkGraphics,
shape: IslandShape,
fill: {
alpha?: number;
color: number;
}
): void;
Fills an island outline as one shape: one instance, exact edges, safe with a see-through fill.
Parameters#
| Parameter | Type |
|---|---|
g | SilkGraphics |
shape | IslandShape |
fill | { alpha?: number; color: number; } |
fill.alpha? | number |
fill.color | number |
Returns#
void