Sign in Join
FPDoc Onlineexperiment

TIndustrialBase.AntiAliasingMode property

Member of TIndustrialBasepublishedIn unit IndustrialBase

Indicates whether anti-aliased drawing is enabled for the control Canvas.

Declaration

pascal
property AntiAliasingMode: TAntialiasingMode read FAntiAliasingMode write SetAntiAliasingMode default amDontCare;

Description

AntiAliasingMode is a TAntialiasingMode property which indicates whether anti-aliased drawing is enabled for the control Canvas. It emulates the behavior implemented in the TCustomImage / TImage component.

Anti-aliased drawing is a technique used to reduce the "stair-stepping" effect for edges or lines in an image. It combines the colors for adjacent pixels to soften a hard edge, and make the image look more realistic.

The default value for the property is amDontCare, and indicates that the default setting for the platform or widgetset is used. Changing the property value causes GraphicChanged to be called to redraw the control when allowed.

Descendent classes, like TArrow, use the value to configure the corresponding property in its control Canvas.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.