[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Graphics' (#lcl)

TBrush.Style

Indicates the pattern drawn using the brush.

Declaration

Source position: graphics.pp line 754

published property TBrush.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:

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

TBrush.Bitmap

  

Bitmap with the pattern for the Brush.

TBrushStyle

  

Represents the pattern for a Brush.

bsSolid

  

Represents the Solid brush style.

bsClear

  

Represents the Clear brush style.

bsHorizontal

  

Represents the Horizontal brush style.

bsVertical

  

Represents the Vertical brush style.

bsFDiagonal

  

Represents the FDiagonal brush style.

bsBDiagonal

  

Represents the BDiagonal brush style.

bsCross

  

Represents the Cross brush style.

bsDiagCross

  

Represents the DiagCross brush style.

bsImage

  

Represents the user-specified Image (bitmap) brush style.

bsPattern

  

Represents the user-specified Pattern (bitmap) brush style.


Version 3.2 Generated 2024-02-25 Home