There's no documentation for this item.
| Modules |
| Describable |
This module defines a number of metadata attributes.
|
| Duplicatable |
This is a standard deep_copy method that is used in most classes. Thanks to
Robert Klemme.
|
| Embellishable |
Methods that create shapes, text, and other drawable objects within
container objects such as ::Magick::RVG and ::Magick::RVG::Group
|
| ImageConstructors |
Methods that construct raster image objects within a container
|
| PreserveAspectRatio |
|
| ShapeConstructors |
Methods that construct basic shapes within a container
|
| Stretchable |
The methods in this module describe the user-coordinate space. Only RVG
objects are stretchable.
|
| StructureConstructors |
Methods that construct container objects within a container
|
| Stylable |
This module is mixed into classes that can have styles.
|
| TextConstructors |
Methods that construct text objects within a container
|
| TextLink |
Tspan and Tref shared methods - read/update @cx, @cy in parent Text object.
|
| Transformable |
Transformations are operations on the coordinate system. All the
transformations defined within a container (an RVG object or a group) are
applied before drawing any shapes or text. All transformations are applied
in the order they were defined. Note: This means that
|
| UseConstructors |
Methods that reference ("use") other drawable objects within a
container
|
| Classes |
| Circle |
|
| ClipPath |
|
| Content |
Content is simply an Array with a deep_copy method. When unit-testing, it
also has a deep_equal method.
|
| Ellipse |
|
| Group |
Define a collection of shapes, text, etc. that can be reused. Group objects
are containers. That is, styles and transforms defined on the
group are used by contained objects such as shapes, text, and nested groups
unless overridden by a nested container or the object itself. Groups can be
reused with the RVG::UseConstructors#use method. Create groups within
containers with the RVG::StructureConstructors#g method.
|
| Image |
|
| Line |
|
| Path |
|
| PathData |
The PathData class provides an object-oriented way to produce an SVG path.
Each of the methods corresponds to a path command. Construct a path by
calling one or more methods. The path object can be passed as an argument
to the RVG::ShapeConstructors#path method.
|
| Pattern |
|
| PolyShape |
|
| Polygon |
|
| Polyline |
|
| Rect |
|
| Shape |
Parent class of Circle, Ellipse, Text, etc.
|
| Text |
|
| TextBase |
Base class for Tspan, Tref and Text.
|
| Transforms |
Transforms is an Array with a deep_copy method. During unit-testing it also
has a deep_equal method.
|
| Tref |
|
| Tspan |
|
| Use |
A Use object allows the re-use of RVG and RVG::Group objects within a
container. Create a Use object with the RVG::UseConstructors#use method.
|
| Utility |
|
| Public Attributes |
| background_fill |
The background fill color specified by background_fill=
|
| background_fill_opacity |
The background fill color opacity specified by background_fill_opacity=
|
| background_image |
The background image specified by background_image=
|
| background_position |
The background image layout specified by background_position=
|
| canvas |
The image after drawing has completed
|
| dpi |
|
| height |
|
| width |
|
| x |
For embedded RVG objects, the x-axis coordinate of the upper-left corner
|
| y |
For embedded RVG objects, the x-axis coordinate of the upper-left corner
|
| Public Methods |
| add_outermost_primitives |
Primitives for the outermost RVG object
|
| add_primitives |
Primitives for nested RVG objects
|
| background_fill= |
Sets the canvas background color. Either a Magick::Pixel or a color name.
The default fill is "none", that is, transparent black.
|
| background_fill_opacity= |
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.
|
| background_image= |
Sets an image to use as the canvas background. See background_position= for
layout options.
|
| background_pattern= |
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.
|
| background_position= |
How to position the background image on the canvas. One of the following
symbols:
|
| convert_one_to_float |
|
| convert_to_float |
|
| corner |
Used by Magick::Embellishable.rvg to set non-0 x- and y-coordinates
|
| deep_equal |
|
| deep_equal |
|
| dpi= |
|
| draw |
Construct a canvas or reuse an existing canvas. Execute drawing commands.
Return the canvas.
|
| fmsg |
Convert an array of method arguments to Float objects. If any cannot be
converted, raise ArgumentError and issue a message.
|
| new |
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.
|
| ref |
Accept #use arguments. Use (x,y) to generate an additional translate.
Override @width and @height if new values are supplied.
|
| Private Methods |
| bgfill |
background_fill defaults to ‘none’. If background_fill has been
set to something else, combine it with the background_fill_opacity.
|
| new_canvas |
|
| print_gc |
|
<code/>and<pre/>for code samples.