AntiAliasType

enum AntiAliasType : Enum<AntiAliasType>

Specifies the type of antialiasing to do when rendering text or shapes. There is no guarantee on how the backend will perform its rasterisation (if it even rasterises!), nor that they have any differing effect other than to enable some form of antialiasing. The interpretation of DEFAULT is left entirely up to the backend.

Entries

UNKNOWN
Link copied to clipboard
common
The anti alias type is unrecognized.
SUBPIXEL
Link copied to clipboard
common
Perform antialiasing by taking advantage of the order of subpixel elements on devices such as LCD panels.
GRAY
Link copied to clipboard
common
Perform single-color antialiasing (using shades of gray for black text on a white background, for example).
NONE
Link copied to clipboard
common
Use a bilevel alpha mask.
DEFAULT
Link copied to clipboard
common
Use the default antialiasing for the subsystem and target device.

Properties

name
Link copied to clipboard
common
val name: String
ordinal
Link copied to clipboard
common
val ordinal: Int