TiObjectCanvas.DefaultBrushStyle

TiObjectCanvas

Specifies the default brush style property of drawing objects when added to the control.

type TBrushStyle = (bsSolid, bsClear, bsHorizontal, bsVertical, bsFDiagonal, bsBDiagonal, bsCross, bsDiagCross);

property DefaultBrushStyle : TBrushStyle;

Description

Use DefaultBrushStyle to get or set the default brush style property of drawing objects when added to the control.

These are the possible values:

Value
Meaning
bsSolid
Solid.
bsClear
Clear.
bsHorizontal
Horizontal Lines.
bsVertical
Vertical Lines.
bsFDiagonal
Diagonal Bottom-Left to Top-Right.
bsBDiagonal
Diagonal Top-Left to Bottom-Right.
bsCross
Combination of bsHorizontal and bsVertical.
bsDiagCross
Combination of bsFDiagonal and bsBDiagonal.

Example

Delphi

iComponent.DefaultBrushStyle := bsSolid;

C++ Builder

iComponent->DefaultBrushStyle = bsSolid;

Contents | Index | Previous | Next