bm_list: Bitmap list object

View source: R/bm_list.R

bm_listR Documentation

Bitmap list object

Description

bm_list() creates a bitmap list object.

Usage

bm_list(...)

Arguments

...

bm_bitmap() objects, possibly named.

Details

bm_list() is a list of bm_bitmap() objects with class “bm_list”. It is superclass of bm_font().

Value

A named list with a “bm_list” subclass.

Supported S3 methods

  • as.list.bm_list()

  • Slicing with ⁠[]⁠ returns bm_list() objects.

  • The min(), max(), and range() functions from the “Summary” group of generic methods.

See Also

is_bm_list(), as_bm_list()

Examples

 font_file <- system.file("fonts/spleen/spleen-8x16.hex.gz", package = "bittermelon")
 font <- read_hex(font_file)

 gl <- font[c("U+0023", "U+0052", "U+0053", "U+0054", "U+0041", "U+0054", "U+0053")] # #RSTATS
 gl <- as_bm_list(gl)
 is_bm_list(gl)


bittermelon documentation built on June 25, 2024, 5:09 p.m.