PictureStroke-class: Class "PictureStroke"

PictureStroke-classR Documentation

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

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


grImport documentation built on March 31, 2023, 6:57 p.m.