RepaintMode

Graphics32

TCustomPaintBox32.RepaintMode

property RepaintMode: TRepaintMode;

type TRepaintMode = (rmFull, rmDirect, rmOptimizer);

Description

This property controls the way repaints of the contents are handled by TCustomPaintBox32 and its descendants:

rmFull - indicates whether always to repaint everything;

rmDirect - indicates to use a direct repaint rather than a deferred invalidation. Please note, that this mode is not supported for layer supporting control like TCustomImage32 and its descendants;

rmOptimizer - indicates to use the repaint optimizer to just repaint changed areas. Especially layer operations benefit from this mode.

See Also

Repaint Optimization, TCustomImage32, TPaintBoxOptions