Method: PDF::Writer::Graphics#circle_at

Defined in:
lib/pdf/writer/graphics.rb

#circle_at(x, y, r) ⇒ Object

Draws a circle of radius r with the centre-point at (x, y) as a complete subpath. The drawing point will be moved to the centre-point upon completion of the drawing the circle.



227
228
229
# File 'lib/pdf/writer/graphics.rb', line 227

def circle_at(x, y, r)
  ellipse_at(x, y, r, r)
end