TBrush.Style property
Indicates the pattern drawn using the brush.
Declaration
property Style: default bsSolid;Description
Style is a
TFPBrushStyle property which indicates the
pattern drawn using the brush. Style contains one of the enumeration values
defined in the FCL. The enumeration values are introduced as constants in the LCL, and include:
- bsSolid
- bsClear
- bsHorizontal
- bsVertical
- bsFDiagonal
- bsBDiagonal
- bsCross
- bsDiagCross
- bsImage
- bsPattern
Setting a new value in Style causes the brush Handle in Reference to be freed.
The image in Bitmap is also discarded by setting the member to Nil. The
Changed method is called to signal the OnChange event
handler (when assigned).
The default value for the property is bsSolid. The value in Style
is automatically set to bsSolid when a value is assigned to the
Bitmap property.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
