Learn R Programming

loon (version 1.4.3)

loonGlyphGrob: Create a grob glyph from a loon widget

Description

A generic function used by loonGrob specialized for particular loon widgets. Used to construct the various point symbol types of the plot. Different S3 methods are implemented for various loon point glyphs.

Usage

loonGlyphGrob(widget, x, glyph_info)

Value

A grob for that glyph.

Arguments

widget

the loon widget.

x

argument used to dispatch the method -- an empty structure of class equal to that returned by l_glyph_getType.

glyph_info

a named list of pertinent components of the glyph including its x and y locations in the plot as well as other information relevant to the particular glyph.

See Also

loonGrob