Skip to content
pixi-silk
GitHub repository
Function

gearIcon

import { gearIcon } from 'pixi-silk/ui/island';
function gearIcon(g: SilkGraphics, size: number): void;

Draws a gear, size wide, centred on (0, 0), in white: an IconSource for a settings island.

Parameters#

ParameterType
gSilkGraphics
sizenumber

Returns#

void