Name | PI |
---|---|
Examples |
x = width/2 y = height/2 d = width * 0.8 arc(x, y, d, d, 0, QUARTER_PI) arc(x, y, d - 20, d - 20, 0, HALF_PI) arc(x, y, d - 40, d - 40, 0, PI) arc(x, y, d - 60, d - 60, 0, TWO_PI) |
Description | PI is a mathematical constant with the value 3.14159265358979323846. It is the ratio of the circumference of a circle to its diameter. It is useful in combination with the trigonometric functions sin() and cos(). |
Syntax | |
Related |
TWO_PI TAU HALF_PI QUARTER_PI |
Cover
Reference
Tutorials
Bugs