Brush Property

Applies to TestComplete 14.40, last modified on April 22, 2021

Specifies the brush used to fill the shape’s background.

Declaration

componentObj.Brush
Read-Write Property A TBrush object.
componentObj     One of the objects listed in the Applies To section  

Applies To

The property applies to the following components:

TShape

Description

The Brush property returns the TBrush object that represents the brush used to fill the shape’s background. Using the Color property of the returned object, you can get or set the shape’s background color.

Property Value

A TBrush object that represents the brush used to fill the shape.

See Also

TBrush Object

Highlight search results