Skip to content

class Circle < Commands::Base internal

Command to draw a circle. Radius starts from [x,y] and moves outward from center

#initialize(x, y, radius) internal

Circle constructor

Arguments

  • x - x coordinate
  • y - y coordinate
  • radius - circle radius

#color=(value) public

sets the circle color.

Arguments

  • value - a Hokusai::Color or Array of Int

Returns

Returns nothing