Description Slots Extends Methods Author(s)
A description of a pattern to be referenced (and used) by graphical content.
x
:Object of class "numeric"
. A vector of length one
representing the x-location of the top-left corner of the
pattern.
y
:Object of class "numeric"
. A vector of length one
representing the y-location of the top-left corner of the
pattern.
width
:Object of class "numeric"
. A vector of length one
representing the width of the pattern.
height
:Object of class "numeric"
. A vector of length one
representing the height of the pattern.
angle
:Object of class "numeric"
. A vector of length one
representing the angle applied to the image. Corresponds to grid's
viewport angles.
definition
:Object of class "list"
. A list of "PictureContent"
objects that define the content of the pattern "tile".
Class PictureContent
, directly.
signature(object = "PicturePattern", tm = "matrix")
:
transforms the locations described by the pattern object by a
3x3 transformation matrix and returns a "PicturePattern"
object with the transformed locations.
signature(object = "PicturePattern")
:
convert the pattern description into a gridSVG pattern
object. Useful only in conjunction with the gridSVG package. The
pattern object will store the definition of the pattern (almost
certainly a raster of some sort) as a grob too.
While not intended to be used directly, this method contains a
single optional argument. This argument is ext
, a character
vector. See grid.picture
for more information on
what this extension selection parameter means, in addition to the
valid values this argument takes.
Simon Potter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.