str_width: Calculate string width in pixels

Description Usage Arguments Value

View source: R/drawing_utils.R

Description

Calculate string width in pixels

Usage

1
str_width(string, bold = FALSE)

Arguments

string

string which width will be calculated

bold

boolean value, if string will be written in bold

Value

string width in pixels


tidycharts documentation built on Jan. 18, 2022, 5:07 p.m.