bm_outline | R Documentation |
bm_outline()
returns a bitmap that is just the “outline”
of another bitmap.
bm_outline(bm_object)
bm_object |
Either a |
Either a bm_bitmap()
, bm_list()
, or bm_font()
object.
square <- bm_bitmap(matrix(1L, nrow = 16L, ncol = 16L)) square_outline <- bm_outline(square) print(square_outline, px = px_ascii) if (require(grid) && capabilities("png")) { circle <- as_bm_bitmap(circleGrob(), width=16, height=16) circle_outline <- bm_outline(circle) print(circle_outline, px = px_ascii) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.