Brush Class (Typed) |
Namespace: XSharp.VO.SDK
The Brush type exposes the following members.
Name | Description | |
---|---|---|
Destroy |
Provide a method to de-instantiate a Brush object.
(Overrides Destroy.) | |
Handle |
Return the handle for a brush.
|
Name | Description | |
---|---|---|
(Color to Brush) |
Implicit operator to convert System.Drawing.Color to Brush
| |
(Brush to Color) |
Implicit operator to convert Brush to System.Drawing.Color
| |
(Brush to Color) |
Implicit operator to convert Brush to VO Color
| |
(Color to Brush) |
Implicit operator to convert VO Color to Brush
|
1oWindow:Background := Brush{BRUSHWHITE} 2oBYellow := Brush{Color{COLORYELLOW},HATCHORTHOGONALCROSS} 3oBPrevious := oWindow:Foreground 4oWindow:Foreground := oBYellow 5oWindow:PaintBoundingBox(Point{0,0}, Dimension{100,100}) 6oWindow:Foreground := oBPrevious