Canvas:getFormat

Available since LÖVE 0.9.1
This function is not supported in earlier versions.
Removed in LÖVE 11.0
It has been replaced by Texture:getFormat.

Gets the texture format of the Canvas.

Function

Synopsis

format = Canvas:getFormat( )

Arguments

None.

Returns

CanvasFormat format
The format of the Canvas.

See Also

Other Languages