bm_list {bittermelon} | R Documentation |
Bitmap list object
Description
bm_list()
creates a bitmap list object.
Usage
bm_list(...)
Arguments
... |
|
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
[]
returnsbm_list()
objects.The
min()
,max()
, andrange()
functions from the “Summary” group of generic methods.
See Also
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)
[Package bittermelon version 2.0.2 Index]