circle()

Circle - Draws a Circle with the given inputs

Example

circle(200, 200, 150)

Syntax

circle(x, y, diameter)
InputDescription

x

x co-ordinate of the center

y

y co-ordinate of the center

diameter

diameter of the circle

Description

circle() draws a circle on the canvas, using the inputs to determine the position and dimension of the shape.

Find these documents helpful? Let the people who made them help your child learn to code at Strivemath!

We'd love to hear your Feedback/Comments here.

Last updated