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

PictureFill-class

Class "PictureFill"


Description

A description of a polygon 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" that specifies the fill colour for the polygon.

lwd:

Object of class "numeric" that specifies the line width of the polygon (not typically used because the polygon is meant to be filled not stroked).

rule:

Object of class "character" with the value evenodd or nonzero indicating the fill rule for the path.

Extends

Class "PictureOp", directly.

Methods

grobify

signature(object = "PictureFill"): convert to 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 = "PictureFill"): convert to a grid grob (for drawing as a data symbol).

drawPath

signature(object = "PictureFill"): draws a traced polygonx 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.