ChartDirector 6.0 (Perl Edition)
BaseChart.setAntiAlias
Usage
Description
Constant | Value | Description |
---|---|---|
NoAntiAlias | 0 | Disable anti-alias when drawing text |
AntiAlias | 1 | Use classical anti-alias when drawing text |
AutoAntiAlias | 2 | Automatically determine if anti-alias should be used for the text. This is the default. Since version 5.1, ChartDirector would automatically choose ClearType or a similar technology as the default anti-alias method. Earlier versions of ChartDirector did not support ClearType, and ChartDirector would choose classical anti-alias for large or bold fonts, and no anti-alias for small non-bold fonts. To force ChartDirector to revert to pre-5.1 behaviour, you may add the following line into your license file: @TextAA=CompatAntiAlias |
ClearTypeColor | [Method] | Use ClearType or a similar technology when drawing text. |
ClearTypeMono | [Method] | Use monochrome ClearType or a similar technology when drawing text. |
Arguments
Argument | Default | Description |
---|---|---|
shapeAntiAlias | true (non-zero) | A true (non-zero) value enables anti-alias when drawing lines and shapes. A false (zero) value disables anti-alias when drawing lines and shapes |
textAntiAlias | AutoAntiAlias | The text anti-alias mode, which must be one of NoAntiAlias, AntiAlias, AutoAntiAlias, ClearTypeColor or ClearTypeMono. |
Return Value