Difference between revisions of "Canvas:getFormat"

m
m
 
Line 1: Line 1:
 
{{newin|[[0.9.1]]|091|type=function}}
 
{{newin|[[0.9.1]]|091|type=function}}
 +
{{oldin|[[11.0]]|110|type=function|text=It has been replaced by [[Texture:getFormat]]}}
 
Gets the texture format of the Canvas.
 
Gets the texture format of the Canvas.
 
== Function ==
 
== Function ==

Latest revision as of 01:08, 17 October 2018

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