Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

PictureFilter-class

Class "PictureFilter"


Description

A description of a filter effect. To be used in conjunction with the gridSVG package.

Slots

filterUnits:

Object of class "character". The units that the filter effect should be positioned against. This should always be "bbox".

x:

Object of class "numeric". A vector of length one representing the x-location of the bottom-left corner of the filter effect region.

y:

Object of class "numeric". A vector of length one representing the y-location of the bottom-left corner of the filter effect region.

width:

Object of class "numeric". A vector of length one representing the width of the filter effect region.

height:

Object of class "numeric". A vector of length one representing the height of the filter effect region.

content:

Object of class "PictureFeColorMatrix". A description of the colour transformation matrix applied to a filter target.

Extends

Class PictureContent, directly.

Methods

grobify

signature(object = "PictureFilter"): Creates a filter effect object for use with the gridSVG package.

Author(s)

Simon Potter

See Also


grImport2

Importing 'SVG' Graphics

v0.2-0
GPL (>= 2)
Authors
Simon Potter [aut], Paul Murrell [aut, cre] (<https://orcid.org/0000-0002-3224-8858>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.