Font.italic - multiple declarations

Function Font.italic

Wraps TTF_GetFontStyle to get whether the Font style is italic

bool italic() @property @trusted const;

Returns

true if the Font is italic, otherwise false

Function Font.italic

Wraps TTF_SetFontStyle to set the Font style to be italic

void italic (
  bool newItalic
) @property @trusted;

Parameters

NameDescription
newItalic true to make the Font italic, otherwise false