str_width {tidycharts}R Documentation

Calculate string width in pixels

Description

Calculate string width in pixels

Usage

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


[Package tidycharts version 0.1.3 Index]