Learn R Programming

grImport (version 0.9-7)

PictureStroke-class: Class "PictureStroke"

Description

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

Arguments

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

Paul Murrell

See Also

Picture-class, PictureFill-class, and grid.picture, grid.symbols.