Graphics.Italic

From Xojo Documentation

Property (As Boolean )
aGraphics.Italic = newBooleanValue
or
BooleanValue = aGraphics.Italic

Supported on Desktop, Web, Console.

If True, text will appear in italic when using Graphics.DrawText.

Example

This example draws "Hello World" in red italic inside a Canvas.

g.ForeColor = &cff0000
g.Italic = True
g.DrawText("Hello world", 10, 10)