Name

ellipseMode()

Examples
ellipseMode(RADIUS)  # Set ellipseMode to RADIUS
fill(255)  # Set fill to white
ellipse(50, 50, 30, 30)  # Draw white ellipse using RADIUS mode
ellipseMode(CENTER)  # Set ellipseMode to CENTER
fill(100)  # Set fill to gray
ellipse(50, 50, 30, 30)  # Draw gray ellipse using CENTER mode
ellipseMode(CORNER)  # Set ellipseMode is CORNER
fill(255)  # Set fill to white
ellipse(25, 25, 50, 50)  # Draw white ellipse using CORNER mode
ellipseMode(CORNERS)  # Set ellipseMode to CORNERS
fill(100)  # Set fill to gray
ellipse(25, 25, 50, 50)  # Draw gray ellipse using CORNERS mode
Description
Syntax
ellipseMode(mode)
Parameters
mode
Related ellipse()
arc()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License