Skip to content

raylib.GetShapesTextureRectangle

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Get texture source rectangle that is used for shapes drawing

Parameters

None.

Return value

Condition Return Value
(always) map

Notes

Example

// Get the source rectangle used for shapes drawing
rec = raylib.GetShapesTextureRectangle
print "Shapes source rect: " + rec.x + ", " + rec.y + ", " + rec.width + "x" + rec.height

Clone this wiki locally