RasterGraphics.circle( x, y, r [, filled] )

Draw a circle in the canvas using the current stroke and fill styles.

Parameters

Name Type   Description
x number X center point
y number Y center point
r number radius
filled boolean optional True fills the ellipse with the current fill color; false does not fill the ellipse.

Returns

Type Description
object The graphics object. This allow for chaining multiple setter methods in one single statement.
Home Examples Download License
 
Copyright © 2010-2017 Edwin R. López