Learn R Programming

metacoder (version 0.3.7)

text_grob_length: Estimate text grob length

Description

Estimate the printed length of `resizingTextGrob` text

Usage

text_grob_length(text, rot = 0)

Value

The estimated length of the printed text as a multiple of its text size (height)

Arguments

text

character The text to be printed

rot

The rotation in radians