getTextSize: Function to process text size with different types of unit

View source: R/z_animintHelpers.R

getTextSizeR Documentation

Function to process text size with different types of unit

Description

Function to process text size with different types of unit

Usage

getTextSize(element.name, theme)

Arguments

element.name

The name of the theme element

theme

combined theme from plot_theme()

Value

character of text size, with unit pt/px


animint2 documentation built on Nov. 22, 2023, 1:07 a.m.