Difference between revisions of "Quad"

Line 7: Line 7:
 
}}
 
}}
 
== Functions ==
 
== Functions ==
{{#ask: [[Category:Functions]] [[parent::Quad]] OR [[parent::Object]] [[Since::<071]]
+
{{#ask: [[Category:Functions]] [[parent::Quad||Object]] [[Since::<071]]
 
| headers=hide
 
| headers=hide
 
| ?Description
 
| ?Description

Revision as of 17:41, 25 March 2011

A quadrilateral with texture coordinate information.

Constructors

love.graphics.newQuadCreates a new Quad.

Functions

Object:typeGets the type of the object as a string.
Object:typeOfChecks whether an object is of a certain type.
Quad:flipFlips this quad horizontally, vertically, or both.
Quad:getViewportGets the current viewport of this Quad.
Quad:setViewportSets the texture coordinates according to a viewport.

Supertypes

Object

See Also


Other Languages