Method Reset
Reset(int, int, bool)
Creates a fresh image.
bool Reset(int width, int height, bool clear = false)
Parameters
widthintNew image width.
heightintNew image height
clearboolIf true, initialize the image to black.
Returns
- bool
trueif the call succeeded,falseotherwise.
Reset()
Destroys the image data.
void Reset()