TiObjectCanvas.GetObjectBrushStyle

TiObjectCanvas

Used to get an object's brush style property value.

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

function GetObjectBrushStyle(Handle : Integer) : TBrushStyle;

Description

Call GetObjectBrushStyle to get an object's brush style property value.

These are the possible return 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

Value := iComponent.GetObjectBrushStyle(5);

C++ Builder

Value = iComponent->GetObjectBrushStyle(5);

Contents | Index | Previous | Next