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


Name

arc()

Examples
example pic
arc(50, 55, 50, 50, 0, PI/2);
noFill();
arc(50, 55, 60, 60, PI/2, PI);
arc(50, 55, 70, 70, PI, TWO_PI-PI/2);
arc(50, 55, 80, 80, TWO_PI-PI/2, TWO_PI);
Description ディスプレイウィンドウに弧を描画します。 弧は x, y, width, heightパラメタによって定義される楕円の外側の縁に沿って描画されます。 起点、または弧の楕円は ellipseMode() によって変更されているかもしれません。 startstop パラメタは弧を描画する角度を指定します。
Syntax
arc(x, y, width, height, start, stop)
Parameters
x int or float: x-coordinate of the arc's ellipse
y int or float: y-coordinate of the arc's ellipse
width int or float: width of the arc's ellipse
height int or float: height of the arc's ellipse
start int or float: angle to start the arc, specified in radians or degrees depending on the current angle mode
stop int or float: angle to stop the arc, specified in radians or degrees depending on the current angle mode
Usage Web & Application
Related ellipseMode()
ellipse()
Updated on May 07, 2007 09:56:39pm PDT

Creative Commons License

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

© 2007 Processing.org