Class: Gruffy::Line::DotRenderers::Circle

Inherits:
Object
  • Object
show all
Defined in:
lib/gruffy/line.rb

Instance Method Summary collapse

Instance Method Details

#render(d, new_x, new_y, circle_radius) ⇒ Object



341
342
343
# File 'lib/gruffy/line.rb', line 341

def render(d, new_x, new_y, circle_radius)
  d.circle(new_x, new_y, new_x - circle_radius, new_y)
end