{{oldin|[[0.9.0]]|090|type=function|text=This function is not supported in that and later versions. Use [[love.graphics.polygon]] instead}}
Draws a triangle.
== 関数 ==
=== 概要 ===
<source lang="lua">
love.graphics.triangle( mode, x1, y1, x2, y2, x3, y3 )
</source>
=== 引数 ===
{{param (日本語)|DrawMode|mode|How to draw the triangle.}}
{{param (日本語)|number|x1|The position of first point on the x-axis.}}
{{param (日本語)|number|y1|The position of first point on the y-axis.}}
{{param (日本語)|number|x2|The position of second point on the x-axis.}}
{{param (日本語)|number|y2|The position of second point on the y-axis.}}
{{param (日本語)|number|x3|The position of third point on the x-axis.}}
{{param (日本語)|number|y3|The position of third point on the y-axis.}}
=== 返値 ===
ありません。
== 関連 ==
* [[parent::love.graphics (日本語)]]
[[Category:Functions (日本語)]]
[[Sub-Category::Drawing (日本語)| ]]
{{#set:Description=Draws a triangle.}}
{{#set:Since=000}}
== そのほかの言語 ==
{{i18n (日本語)|love.graphics.triangle}}