text_grob_length: Estimate text grob length

View source: R/heat_tree--resizing_text.R

text_grob_lengthR Documentation

Estimate text grob length

Description

Estimate the printed length of 'resizingTextGrob' text

Usage

text_grob_length(text, rot = 0)

Arguments

text

character The text to be printed

rot

The rotation in radians

Value

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


metacoder documentation built on April 4, 2023, 9:08 a.m.