Loading

Pellipse


processing
Since v1.0.0
Available on all platforms
See also

Draws an ellipse (oval) to the screen. An ellipse with equal width and height is a circle. By default, the first two parameters set the location, and the third and fourth parameters set the shape's width and height. The origin may be changed with the PellipseMode function.

Link to original Processing doc

Signature

Examples

// @preview image 120 120 '2D3' PGraphics 255 Pbackground 0x7fff0000 Pfill //red half transparent 0xff0000ff Pstroke //blue 60 40 50 75 Pellipse 60 100 50 30 Pellipse Pencode