Skip to content
Member Filters
Show Inherited
Show Protected
Show abstract
GR32_Image🞂TCustomImage32🞂RepaintModePropertyPublic
Inherited from:TCustomPaintBox32.RepaintMode

TCustomImage32.RepaintMode

Specifies invalidation and repaint strategy used for buffer rendering.

Declaration ​

pascal
type
  TRepaintMode = (rmFull, rmDirect, rmOptimizer);

property RepaintMode: TRepaintMode read FRepaintMode write SetRepaintMode default rmFull;

Description ​

RepaintMode controls how updates to the internal buffer are repainted onto the screen.

ValueDescription
rmFullInvalidates and repaints the entire control area whenever a change occurs.
rmDirectRepaints invalidated regions directly to the screen without queuing standard OS paint messages.
rmOptimizerUses an internal repaint optimizer to coalesce invalid rectangles and minimize redrawn areas.