FileIcon.addVertex
void addVertex(int x, int y) nothrow @nogcAdds 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
x | X coordinate (0-10000) |
y | Y coordinate (0-10000) |
void addVertex(float x, float y) nothrow @nogcAdds 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
x | X coordinate (0.0-1.0) |
y | Y coordinate (0.0-1.0) |