PictureMask-class {grImport2}R Documentation

Class "PictureMask"

Description

A description of a luminance mask.

Slots

content:

Object of class "list". A list of "PictureContent" objects that are use to define the mask. Typically objects that actually draw content (e.g. a path or a rect).

Extends

Class PictureContent, directly.

Methods

applyTransform

signature(object = "PictureMask", tm = "matrix"): transforms the locations described by contents of the mask object by a 3x3 transformation matrix and returns a "PictureMask" object whose children have had locations transformed by the matrix.

grobify

signature(object = "PictureMask"): creates a mask object for use with the gridSVG package. Not intended to be used directly.

There are three arguments to this grobify method:

defs

An object of class "PictureDefinitions". This object is primarily useful in conjunction with the gridSVG package.

gpFUN

This argument takes a function that takes a gpar object and returns a modified gpar object. The default value is the identity function.

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.

Author(s)

Simon Potter


[Package grImport2 version 0.3-1 Index]