PictureGradientStop-class: Class '"PictureGradientStop"'

Description Slots Methods Author(s) See Also

Description

A description of a gradient stop that is meant to be used as part of a larger picture (as it does not directly draw anything itself). This object will have no effect unless it is used in conjunction with the gridSVG package.

Slots

offset:

Object of class "numeric". The offset (usually between 0 and 1) from the start of the gradient. These represent locations to place the colours (col) at.

col:

Object of class "character". A colour in the form "#RRGGBBAA".

Methods

grobify

signature(object = "PictureGradientStop"): convert to a gradient stop object for use with the gridSVG package.

Author(s)

Simon Potter

See Also

PictureLinearGradient, PictureRadialGradient.


sjp/grImport2 documentation built on May 30, 2019, 12:06 a.m.