Graphics.AntiAliasMode

From Xojo Documentation

aGraphics.AntiAliasMode = newGraphics.AntiAliasModesValue
or
Graphics.AntiAliasModesValue = aGraphics.AntiAliasMode

New in 2018r2

Supported for all project types and targets.

Controls the level of interpolation/quality when drawing scaled Pictures. Valid modes are from the Graphics.AntiAliasModes enumeration: LowQuality, DefaultQuality, and HighQuality. The default is DefaultQuality.

Notes

The Graphics.AntiAliasModes enumeration has these elements:

  • LowQuality
  • DefaultQuality
  • HighQuality

Sample Code

Use High Quality (set in Paint event of a Canvas):

g.AntiAliasMode = Global.Graphics.AntiAliasModes.HighQuality