Brush Constructor (Typed) | |
Construct a brush.
Namespace:
XSharp.VO.SDK
Assembly:
XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.21
Syntax CONSTRUCTOR(
xColor,
kHatchStyle,
oParent
) CLIPPER
[ClipperCallingConventionAttribute(new string[] { ... })]
public Brush(
Usual xColor = default,
Usual kHatchStyle = default,
Usual oParent = default
)
Request Example
View SourceParameters
- 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
Constant | Description |
---|
BRUSHBLACK | Black |
BRUSHCLEAR | Clear (transparent) |
BRUSHDARK | Dark gray |
BRUSHHOLLOW | Clear (transparent) |
BRUSHLIGHT | Light gray |
BRUSHMEDIUM | Gray |
BRUSHWHITE | White |
kHatchStyle constants:
Constant | Description |
---|
0 | Prepares a brush. |
HATCHDIAGONAL135 | A pattern of 135-degree angle parallel lines. |
HATCHDIAGONAL45 | A pattern of 45-degree angle parallel lines. |
HATCHDIAGONALCROSS | A combination of HATCHDIAGONAL45 and HATCHDIAGONAL135. |
HATCHHORIZONTAL | A pattern of horizontal parallel lines. |
HATCHORTHOGONALCROSS | A combination of HATCHHORIZONTAL and HATCHVERTICAL. |
HATCHSOLID | A solid blocking pattern. This is the default. |
HATCHVERTICAL | A pattern of vertical parallel lines. |
See Also