Gambas Documentation - /comp/gb.cairo/cairo/antialias

/comp/gb.cairo/cairo/antialias

# Cairo.AntiAlias (gb.cairo)

Static Property AntiAlias As Integer

Returns or sets the antialiasing mode of the rasterizer used for drawing shapes.

The value of this property can be one of the following constants:

- AntiAliasDefault

- AntiAliasGray

- AntiAliasNone

- AntiAliasSubPixel

This value is a hint, and a particular backend may or may not support a particular value. At the current time, no backend supports AntiAliasSubPixel when drawing shapes.

Note that this option does not affect text rendering.