A quadrilateral (a polygon with four sides and four corners) with texture coordinate information.

Quads can be used to select part of a texture to draw. In this way, one large [http://en.wikipedia.org/wiki/Texture_atlas texture atlas] can be loaded, and then split up into sub-images.

{{notice|Quads 'bleed' when scaled, rotated or drawn at non-integer coordinates, even within [[SpriteBatch|SpriteBatches]], to compensate for this, use 1px borders around the textures inside the texture atlas (preferably with the same colors as the actual border)}}

== コンストラクタ ==
{{#ask: [[Category:Functions (日本語)]] [[Constructs::Quad (日本語)]] [[Concept:Current]]
| headers=hide
| default=なし。
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== 関数 ==
{{#ask: [[Category:Functions (日本語)]] [[parent::Quad (日本語)||Object (日本語)]] [[Concept:Current]]
| headers=hide
| format=template
| template=ListingFields
| introtemplate=ListingIntro
| outrotemplate=ListingOutro
| ?Description
| ?PrettySince
| ?PrettyRemoved
}}
== 上位型 ==
* [[parent::Object (日本語)]]
== 関連 ==
* [[parent::love.graphics (日本語)]]
[[Category:Types (日本語)]]
{{#set:Description=A quadrilateral with texture coordinate information.}}
{{#set:Since=000}}
== そのほかの言語 ==
{{i18n (日本語)|Quad}}