Click or drag to resize

Brush Constructor (Typed)

X#
Construct a brush.

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax
 CONSTRUCTOR(
	xColor,
	kHatchStyle,
	oParent
) CLIPPER
Request Example View Source

Parameters

xColor (Optional)
Type: Usual
The new brush's color object. (Refer to the Color:Init() method for details on specifying a color object.) or the standard brush to create, specified as one of constants below.
kHatchStyle (Optional)
Type: Usual
The new brush's pattern (also called a hatching style or meshed line pattern). Specify one of the constants below.
oParent (Optional)
Type: Usual
** missing parameter documentation **
Remarks
xColor constants
ConstantDescription
BRUSHBLACKBlack
BRUSHCLEARClear (transparent)
BRUSHDARKDark gray
BRUSHHOLLOWClear (transparent)
BRUSHLIGHTLight gray
BRUSHMEDIUMGray
BRUSHWHITEWhite
kHatchStyle constants:
ConstantDescription
0Prepares a brush.
HATCHDIAGONAL135A pattern of 135-degree angle parallel lines.
HATCHDIAGONAL45A pattern of 45-degree angle parallel lines.
HATCHDIAGONALCROSSA combination of HATCHDIAGONAL45 and HATCHDIAGONAL135.
HATCHHORIZONTALA pattern of horizontal parallel lines.
HATCHORTHOGONALCROSSA combination of HATCHHORIZONTAL and HATCHVERTICAL.
HATCHSOLIDA solid blocking pattern. This is the default.
HATCHVERTICALA pattern of vertical parallel lines.
See Also