get_font_info_from_tk: Return Font Information

View source: R/loonGrob.R

get_font_info_from_tkR Documentation

Return Font Information

Description

Return Font Information

Usage

get_font_info_from_tk(tkFont)

Arguments

tkFont

A specified tk font character, one of l_getOption("font-scales"), l_getOption("font-title"), l_getOption("font-xlabel"), l_getOption("font-ylabel")

Value

A list of font information, containing font "family", font "face" and font "size"

Examples

fontscales <- l_getOption("font-scales")
get_font_info_from_tk(fontscales)

loon documentation built on July 9, 2023, 5:48 p.m.