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

PictureStroke-class

Class "PictureStroke"


Description

A polyline path (that might be part of a larger picture).

Slots

x:

Object of class "numeric"

y:

Object of class "numeric"

rgb:

Object of class "character" giving the colour of the polyline.

lwd:

Object of class "numeric" giving the width of the polyine.

Extends

Class "PictureOp", directly.

Methods

grobify

signature(object = "PictureStroke"): convert into a grid grob (for one-off drawing). There is a logical argument use.gc which can be used to turn off the graphics context coming from the object so that a different one can be specified via the gp argument.

symbolize

signature(object = "PictureStroke"): convert into a grid grob (for drawing as a data symbol)).

drawPath

signature(object = "PictureStroke"): draws a traced line as part of the current plot.

Author(s)

Paul Murrell

See Also


grImport

Importing Vector Graphics

v0.9-3
GPL (>= 2)
Authors
Paul Murrell [aut, cre], Richard Walton [aut], Simon Potter [ctb]
Initial release

We don't support your browser anymore

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