WORD_SEP | = | / / |
background_fill | [R] | The background fill color specified by background_fill= |
background_fill_opacity | [R] | The background fill color opacity specified by background_fill_opacity= |
background_image | [R] | The background image specified by background_image= |
background_position | [R] | The background image layout specified by background_position= |
canvas | [R] | The image after drawing has completed |
dpi | [R] | |
height | [R] | |
width | [R] | |
x | [R] | For embedded RVG objects, the x-axis coordinate of the upper-left corner |
y | [R] | For embedded RVG objects, the x-axis coordinate of the upper-left corner |
Convert an array of method arguments to Float objects. If any cannot be converted, raise ArgumentError and issue a message.
Draw a width x height image. The image is specified by calling one or more drawing methods on the RVG object. You can group the drawing method calls in the optional associated block. The x and y arguments have no meaning for the outermost RVG object. On nested RVG objects [x, y] is the coordinate of the upper-left corner in the containing canvas on which the nested RVG object is placed.
Drawing occurs on a canvas created by the draw method. By default the canvas is transparent. You can specify a different canvas with the background_fill= or background_image= methods.
RVG objects are containers. That is, styles and transforms defined on the object are used by contained objects such as shapes, text, and groups unless overridden by an inner container or the object itself.
Sets the canvas background color. Either a Magick::Pixel or a color name. The default fill is "none", that is, transparent black.
Opacity of the background fill color, a number between 0.0 (transparent) and 1.0 (opaque). The default is 1.0 when the background_fill= attribute has been set.
Sets an image to use as the canvas background. See background_position= for layout options.
Sets an object to use to fill the canvas background. The object must have a fill method. See the Fill Classes section in the RMagick doc for more information.
How to position the background image on the canvas. One of the following symbols: