Paint Method (IBorderRotationSupport)
In This Topic
Paint orientation border.
Syntax
'Declaration
Sub Paint( _
ByVal As Graphics, _
ByVal As Point, _
ByVal As Point, _
ByVal As Point, _
ByVal As Point, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Boolean, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer, _
ByVal As Integer _
)
'Usage
Dim instance As IBorderRotationSupport
Dim g As Graphics
Dim topleft As Point
Dim bottomLeft As Point
Dim bottomRight As Point
Dim topRight As Point
Dim rightToLeft As Boolean
Dim paintTop As Boolean
Dim paintBottom As Boolean
Dim paintRight As Boolean
Dim paintLeft As Boolean
Dim diagonalUpDownPainting As Boolean
Dim xCross As Integer
Dim yCross As Integer
Dim widthCross As Integer
Dim heightCross As Integer
instance.Paint(g, topleft, bottomLeft, bottomRight, topRight, rightToLeft, paintTop, paintBottom, paintRight, paintLeft, diagonalUpDownPainting, xCross, yCross, widthCross, heightCross)
void Paint(
Graphics ,
Point ,
Point ,
Point ,
Point ,
bool ,
bool ,
bool ,
bool ,
bool ,
bool ,
int ,
int ,
int ,
int
)
Parameters
- g
- Graphics device interface
- topleft
- Top-left location
- bottomLeft
- Bottom-left location
- bottomRight
- Bottom-right location
- topRight
- Top-right location
- rightToLeft
- Whether layout is right-to-left
- paintTop
- Whether to paint border at top
- paintBottom
- Whether to paint border at bottom
- paintRight
- Whether to paint border at right
- paintLeft
- Whether to paint border at left
- diagonalUpDownPainting
- Whether to paint border for a diagonal line
- xCross
- X coordinate where the cross diagonal line starts
- yCross
- Y coordinate where the cross diagonal line starts
- widthCross
- Width of the cross rectangle
- heightCross
- Height of the cross rectangle
See Also