Processing (BETA) version 135+ のリファレンスです。 旧バージョン使用者はソフトウェア内のリファレンスを参照してください。
この文書は Processing のAPIリファレンスを日本語に訳したものです。 最新の内容は 英語版 で確認して下さい。


Name

triangle()

Examples
example pic
triangle(30, 75, 58, 20, 86, 75)
Description 三角形は3点を接続することによって作成される平面です。 最初の2つの変数で第1の点を指定します。 中央の2つの変数で第2の点を指定します。 そして最後の2つの変数で第3の点を指定します。
Syntax
triangle(x1, y1, x2, y2, x3, y3);
Parameters
x1 int or float: x-coordinate of the first point
y1 int or float: y-coordinate of the first point
x2 int or float: x-coordinate of the second point
y2 int or float: y-coordinate of the second point
x3 int or float: x-coordinate of the third point
y3 int or float: y-coordinate of the third point
Usage Web & Application
Related beginShape()
Updated on June 01, 2007 12:18:45am PDT

Creative Commons License

この文書の原文はクリエイティブ・コモンズ(Creative Commons)Attribution-Noncommercial-Share Alike(表示・非営利・継承) ライセンスで公開されています。 このライセンスは同一の許諾条件の下で原作者のクレジットを表示し、また作品を営利目的で利用しなければ、作品に対して複製、頒布、展示、実演、二次的著作物の作成が行えることを示します。

© 2007 Processing.org