R: Class "PictureFill"

PictureFill-class {grImport} | R Documentation

## 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

`Picture-class`, `PictureStroke-class`, and `grid.picture`, `grid.symbols`.

[Package grImport version 0.9-0 Index]