Skip to contents

Create a TextBlock

Usage

TextBlock(text)

Arguments

text

Character. The text content.

Value

Object of class TextBlock.

Examples

blk <- TextBlock("Hello, world!")
blk$text
#> [1] "Hello, world!"