MCPcopy Create free account
hub / github.com/RobLoach/raylib-cpp / SetHeight

Method SetHeight

include/Image.hpp:340–342  ·  view source on GitHub ↗

* Set the height of the image canvas. * * @see ResizeCanvas */

Source from the content-addressed store, hash-verified

338 * @see ResizeCanvas
339 */
340 void SetHeight(int height, int offsetX = 0, int offsetY = 0, ::Color fill = {255, 255, 255, 255}) {
341 ResizeCanvas(width, height, offsetX, offsetY, fill);
342 }
343
344 /**
345 * Retrieve the width and height of the image.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected