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


tdhock/animint2 documentation built on April 14, 2024, 4:22 p.m.