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

# TBrushStyle

Represents the pattern for a Brush.

## Declaration

Source position: graphics.pp line 698

`type TBrushStyle = TFPBrushStyle;`

## Description

TBrushStyle is an alias for the TFPBrushStyle type from the FCL. Brush style constants defined in the LCL include:

bsSolid
  Fills a shape with the color for the brush.
bsClear
  Fills a shape with transparency (using the existing color as the fill color).
bsHorizontal
  Fills a shape with a pattern consisting of equidistant horizontal lines.
bsVertical
  Fills a shape with a pattern consisting of equidistant vertical lines.
bsFDiagonal
  Fills a shape with a pattern consisting of equidistant lines drawn with a 45-degree downward, left-to-right hatch.
bsBDiagonal
  Fills a shape with a pattern consisting of equidistant lines drawn with a 45-degree upward, left-to-right hatch.
bsCross
  Fills a shape with a pattern consisting of equidistant lines drawn as a horizontal and vertical cross-hatch.
bsDiagCross
  Fills a shape with a pattern consisting of equidistant lines drawn as a 45 degree cross-hatch.
bsImage
  Fills a shape with a user-specified image (bitmap).
bsPattern
  Fills a shape with a user-specified pattern (bitmap).

The constant values are assigned to the Style property in TBrush.

## See also

TBrush.Style |  | Indicates the pattern drawn using the brush.