Learn R Programming

grImport2 (version 0.1-5)

PictureGradientStop-class: Class "PictureGradientStop"

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.

Arguments

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.

See Also

'>PictureLinearGradient, '>PictureRadialGradient.