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

Other Languages