Title: Initializes A Title

initialize,Title-methodR Documentation

Initializes A Title

Description

Uses the constructor to create the object or update an existing one with the setters.

Usage

## S4 method for signature 'Title'
initialize(.Object, text, size, ...)

title(text, size, ...)

amTitle(text, size, ...)

## S4 method for signature 'Title,character'
setText(.Object, text)

setSize(.Object, size)

## S4 method for signature 'Title,numeric'
setSize(.Object, size)

Arguments

.Object

Title

text

character, title text.

size

numeric, title size.

...

other properties of Title.

Value

(updated) Title

Examples

new("Title", size = 10)
rAmCharts:::title(text = "Main", size = 10)
rAmCharts:::title(text = "Main", bold = TRUE)
amTitle(text = "Main", size = 10)
amTitle(text = "Main", bold = TRUE)
setText(.Object = amTitle(), text = "Bonjour")
setSize(amTitle(), 16)

datastorm-open/rAmCharts documentation built on Oct. 4, 2022, 7:07 p.m.