max_text_height.Rd
Maximum Height of Text
max_text_height(text, gp = gpar(), rot = 0)
text | A vector of text. |
---|---|
gp | Graphic parameters for text. |
rot | Rotation of the text, scalar. |
It simply calculates maximum height of a list of textGrob
objects.
Note it ignores the text rotation.
A unit
object.
max_text_width
calculates the maximum width of a text vector.
#> [1] 12.6929444444444mm