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

Picture-class

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


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.