FileIcon.addVertex

void addVertex(int x, int y) nothrow @nogc

Adds a vertex value to the icon using integer coordinates.

The coordinate system uses 0-10000 for both X and Y, with the origin (0,0) in the lower-left corner of the icon.

Parameters

xX coordinate (0-10000)
yY coordinate (0-10000)
void addVertex(float x, float y) nothrow @nogc

Adds a vertex value to the icon using float coordinates.

The coordinate system uses 0.0-1.0 for both X and Y, with the origin (0.0, 0.0) in the lower-left corner of the icon.

Parameters

xX coordinate (0.0-1.0)
yY coordinate (0.0-1.0)