Sign in Join
FPDoc Onlineexperiment

TBrushStyle type

In unit Graphics

Represents the pattern for a Brush.

Declaration

pascal
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

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