PictureGradientStop-class: Class '"PictureGradientStop"'

PictureGradientStop-classR Documentation

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.

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.


grImport2 documentation built on Sept. 11, 2024, 5:19 p.m.