l_glyph_add.default: Default method for adding non-primitive glyphs

View source: R/l_glyphs.R

l_glyph_add.defaultR Documentation

Default method for adding non-primitive glyphs

Description

Generic function to write new glyph types using loon's primitive glyphs

Usage

## Default S3 method:
l_glyph_add(widget, type, label = "", ...)

Arguments

widget

widget path as a string or as an object handle

type

loon-native non-primitive glyph type, one of 'text', 'serialaxes', 'image', '[polygon', or 'pointrange'

label

label of a glyph (currently shown only in the glyph inspector)

...

state arguments

See Also

Other glyph functions: l_glyph_add_image(), l_glyph_add_pointrange(), l_glyph_add_polygon(), l_glyph_add_serialaxes(), l_glyph_add_text(), l_glyph_add(), l_glyph_delete(), l_glyph_getLabel(), l_glyph_getType(), l_glyph_ids(), l_glyph_relabel(), l_primitiveGlyphs()


loon documentation built on July 9, 2023, 5:48 p.m.