Class Magick::RVG::Pattern
In: lib/rvg/paint.rb
Parent: Object

Methods

new  

Included Modules

StructureConstructors UseConstructors ShapeConstructors TextConstructors ImageConstructors Stretchable Duplicatable Stylable

Public Class methods

Create a pattern that can be used with the :fill or :stroke styles. The width and height arguments define the viewport. The pattern will be repeated at x+m*width and y+n*height offsets.

Define the pattern in the block. The pattern can be composed of shapes (rectangle, circles, etc.), text, raster images and container objects. You can include graphic objects by referring to them with use.

[Validate]