Picture-class: Class "Picture"

Picture-classR Documentation

Class "Picture"

Description

A collection of paths (polylines or polygons) that together describe a picture.

Objects from the Class

Objects can be created by calls of the form new("Picture", ...). ~~ describe objects here ~~

Slots

paths:

A list of objects of class "PictureStroke" (polylines) or "PictureFill" (polygons).

summary:

Object of class "PictureSummary"

Methods

[

signature(x = "Picture"): subset the paths of a picture to produce a new picture (includeing a new, updated summary).

[[

signature(x = "Picture"): extract either a single path or, more usefully, the sub-paths of a "PictureText" object, to produce a new picture (includeing a new, updated summary).

grobify

signature(object = "Picture"): convert a picture into a grid grob (for use as a one-off image).

symbolize

signature(object = "Picture"): convert a picture into a grid grob (for use as a plotting symbol).

Author(s)

Paul Murrell

See Also

readPicture, grid.picture, grid.symbols and PictureStroke-class PictureFill-class PictureSummary-class.


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