Sign in Join
FPDoc Onlineexperiment

TBrush.Create constructor

Member of TBrushpublicIn unit Graphics

Constructor for the class instance.

Declaration

pascal
constructor Create; override

Description

Create is the overridden constructor for the class instance. Create calls the inherited constructor on entry, and sets the default values for properties including:

Bitmap
Set to Nil.
Color
Set to clWhite. The inherited SetFPColor method is called to apply the new value.
Style
The default value is bsSolid, and the inherited SetStyle method is called to apply the value in ancestor classes.

Create sets the value in DelayAllocate to True to defer resource allocation until the brush is used. The internal counter used to track updates is reset.

See also

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