bm_lapply: Modify bitmap lists

View source: R/bm_list.R

bm_lapplyR Documentation

Modify bitmap lists

Description

bm_lapply() applies a function over a bitmap glyph list and returns a modified bitmap glyph list.

Usage

bm_lapply(X, FUN, ...)

Arguments

X

A bitmap glyph list object such as bm_list() or bm_font().

FUN

A function that takes a bm_bitmap() object as its first argument and returns a bm_bitmap() object.

...

Additional arguments to pass to FUN.

Details

bm_lapply() is a wrapper around base::lapply() that preserves the classes and metadata of the original bitmap glyph list.

Value

A modified bitmap glyph list.

See Also

base::lapply(), bm_list(), bm_font(), bm_bitmap()


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