Graphics.AntiAlias

From Xojo Documentation

Revision as of 14:46, 12 November 2019 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

New in 2010r4

Supported for all project types and targets.

Used to draw smooth lines and shapes, including text where applicable. This property is True by default (on Windows, GDI+ must be enabled).

Example

The following example is in the Paint event of the main window.

g.AntiAlias = True