W3cubDocs

/LÖVE

Quad:getTextureDimensions

Available since LÖVE 0.10.2
This function is not supported in earlier versions.

Gets reference texture dimensions initially specified in love.graphics.newQuad.

Function

Synopsis

sw, sh = Quad:getTextureDimensions( )

Arguments

None.

Returns

number sw
The Texture width used by the Quad.
number sh
The Texture height used by the Quad.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Quad:getTextureDimensions