Navigation:  Classes > bBrush >

bBrush:Init()

Print this Topic    Previous pageReturn to chapter overviewNext page

Purpose

Creates an object of the class bBrush.

Class

bBrush

Type

Method

Syntax

bBrush{<kColor>} Æ oBrush

bBrush{<oColor>, [kHatchStyle]} Æ oBrush

bBrush{<hBrush>, [<lSystem>]} Æ oBrush

Arguments

<oColor>Color of the brush as object (see also Brush:Init()).
Data Type:Color

 

<kColor>Color of the brush as numeric constant (see also Brush:Init()).
Data Type:DWord

 

<kHatchStyle>Pattern of the brush an numeric constant (see also Brush:Init()).
Data Type:DWord

 

<hBrush>Handle of a brush that is to be created as bBrush object.
Data Type:Ptr

 

<lSystem>Logical value which indicates whether the handle is to be released by the garbage collector again. For example if the handle were determined with the Windows API function GetStockObject() the Handle is a Windows standard brush which may not be released. In this case the argument must contain the value TRUE.
Data Type:Logic

Return Value

oBrushThe created object of the class bBrush.
Data Type:bBrush

Description

bBrush:Init() creates a new object of the class bBrush and initializes it.

 


Page url: http://www.YOURSERVER.com/index.html?bbrush_init.htm