Learn R Programming

animint2 (version 2025.1.28)

getTextSize: 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)

Value

character of text size, with unit pt/px

Arguments

element.name

The name of the theme element

theme

combined theme from plot_theme()