:load(String path) |
|
Loads a texture from the given path |
| :toStr() |
String |
Returns the texture's path as a string |
:keyColor(Vector2D position) |
|
Keys the color at the given position into transparency |
:save(String path) |
|
Saves the texture to the specified file path |
:clear(Vector2D size) |
|
Clears the texture and creates a blank one of the given size |
:append(Texture texture, Vector2D position) |
|
Appends another texture at the given position |
:appendFromFile(String filePath, Vector2D position) |
|
Appends texture data from file at the given position |
:getPixelColor(Vector2D position) |
Vector4D |
Returns the color at the specified pixel position |