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


Name

point()

Examples
example pic
point(30, 20);
point(85, 20);
point(85, 75);
point(30, 75);
example pic
size(100, 100, P3D);
point(30, 20, -50);
point(85, 20, -50);
point(85, 75, -50);
point(30, 75, -50);
Description 空間内の座標に 1pixel の点を描画します。 最初のパラメタは点の水平方向の座標、2番目のパラメタは垂直方向の座標です。 3番目の値は深度を表します。 z パラメタを使用するには P3D か OPENGL を size() のパラメタとして渡す必要があります。
Syntax
point(x, y)
point(x, y, z)
Parameters
x int or float: x-coordinate of the point
y int or float: y-coordinate of the point
z int or float: z-coordinate of the point
Usage Web & Application
Related beginShape()
Updated on May 24, 2007 06:11:18pm PDT

Creative Commons License

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

© 2007 Processing.org