[Overview][Classes][Index] Reference for unit 'IndustrialBase' (#lcl)

TIndustrialBase.AntiAliasingMode

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

Declaration

Source position: industrialbase.pp line 23

published property TIndustrialBase.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

TAntialiasingMode

  

Represents anti-aliasing modes used in TCanvas.

TCanvas.AntialiasingMode

  

Controls anti-aliasing for canvas drawing operations.


Version 4.0 Generated 2025-05-03 Home