standard.settings.italicButton elementDropDown elementScale elementText elementTooltip element

getElement(id).settings.italic()

Makes any text in the element appear in italic.

Example:

newText("warnning", "NOTE: this text is a warning!")
    .settings.bold()
    .settings.italic()
    .settings.color("red")
    .print()

Prints a text in boldface, italic and red.