TBrush.Style

Applies to TestComplete 15.63, last modified on April 10, 2024

Specifies the texture of the background color of the shape.

Declaration

TBrushObj.Style
Read-Write Property String
TBrushObj     A TBrush object  

Description

Use the Style property to get or set the pattern used to draw the background.

Property Value

The property can take on the following values:

Value Description
bsSolid Fills the component with a solid color. This is the default value.
bsClear Filling of the component is transparent.
bsHorizontal Fills the component with a horizontal pattern.
bsVertical Fills the component with a vertical pattern.
bsFDiagonal Fills the component with a forward diagonal pattern.
bsBDiagonal Fills the component with a backward diagonal pattern.
bsCross Fills the component with a cross-hatched pattern.
bsDiagCross Fills the component with a diagonally cross-hatched pattern.

See Also

TBrush.Color

Highlight search results