CIRCLE keyword

Draws a circle.

Syntax

CIRCLE (x, y), diameter, color, "effect", effectvalue

Parameters

  • x: integer of horizontal position (required)
  • y: integer of vertical position (required)
  • diameter: integer of diameter; default is 20
  • color: color specified using hex value
  • effect: possible effect
  • effectvalue: integer value to customize the effect

Example

CIRCLE (100, 100)
CIRCLE (100, 100), 40
CIRCLE (100, 100), 40, #FF0054
CIRCLE (100, 100), 40, #FF0054, "fade-in"
CIRCLE (100, 100), 40, #FF0054, "fade-in", 3000

DIM myCircle AS CIRCLE
myCircle = CIRCLE (300, 200), 60

Go back to list of Keywords.