Class: Gruff::Line::DotRenderers::Circle

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

Instance Method Summary collapse

Instance Method Details

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


341
342
343
# File 'lib/gruff/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