module Magick::RVG::ShapeConstructors
def rect(width, height, x=0, y=0)
canvas.rect(width, height, x, y).round(8, 6)
the corner radii in the x- and y-directions. For example:
method on the Rectangle object. rx and ry are
Draw a rectangle with rounded corners by calling the #round
Rectangle object.
specified the rectangle has square corners. Returns a
with the specified +width+ and +height+. Unless otherwise
Draws a rectangle whose upper-left corner is [x, y] and
def rect(width, height, x=0, y=0) rect = Rect.new(width, height, x, y) @content << rect return rect end