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


SawickiBartosz/tidycharts documentation built on Jan. 20, 2022, 8:25 p.m.