arc() \ Language (API) \ Processing 1.0
Search processing.org:
Language (A-Z) \
Libraries \
Tools \
Environment \
Compare \
Troubleshooting
Reference for Processing version 1.0+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.
Name
arc()
Examples
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
Draws an arc in the display window. Arcs are drawn along the outer edge of an ellipse defined by the x, y, width and height parameters. The origin or the arc's ellipse may be changed with the ellipseMode() function. The start and stop parameters specify the angles at which to draw the arc.
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
stop
int or float: angle to stop the arc, specified in radians
Returns
None
Usage
Web & Application
Related
ellipseMode()ellipse()
Updated on July 13, 2009 01:41:13pm PDT
Processing was initiated by Ben Fry and Casey Reas. It is developed by a small team of volunteers.
© Info \
Site hosted by Media Temple!
Wyszukiwarka
Podobne podstrony:
Arc SupportSHSpec 79 6609C01 Gradients and ARCG03 Anti Clockwise ArcG02 Clockwise arc with RadiusSHSpec 269 6305C25 Handling ARC Breaksfunction pdf arcSHSpec 171 6207C17 Anatomy of ARC BreaksArc SupportG03 Anti Clockwise arc with Centre Offsetsarc de triomphe instrukcjaParalleling Arc Welding Power SourcesSHSpec 289 6307C24 ARC Breaks and the Comm CycleGuidelines to Gas Metal Arc Welding (GMAW)G02 Clockwise arc with Centre OffsetsG03 Anti Clockwise arc with Centre Offsets13726 ARC EN CIELFanuc 0M MS M300L [ARC] M316 87więcej podobnych podstron