[]
        
(Showing Draft Content)

FarPoint.Win.IBorderRotationSupport.Paint

Paint Method

Paint(Graphics, Point, Point, Point, Point, bool, bool, bool, bool, bool, bool, int, int, int, int)

Paint orientation border.

Declaration
void Paint(Graphics g, Point topleft, Point bottomLeft, Point bottomRight, Point topRight, bool rightToLeft, bool paintTop, bool paintBottom, bool paintRight, bool paintLeft, bool diagonalUpDownPainting, int xCross, int yCross, int widthCross, int heightCross)
Sub Paint(g As Graphics, topleft As Point, bottomLeft As Point, bottomRight As Point, topRight As Point, rightToLeft As Boolean, paintTop As Boolean, paintBottom As Boolean, paintRight As Boolean, paintLeft As Boolean, diagonalUpDownPainting As Boolean, xCross As Integer, yCross As Integer, widthCross As Integer, heightCross As Integer)
Parameters
Type Name Description
Graphics g

Graphics device interface

Point topleft

Top-left location

Point bottomLeft

Bottom-left location

Point bottomRight

Bottom-right location

Point topRight

Top-right location

bool rightToLeft

Whether layout is right-to-left

bool paintTop

Whether to paint border at top

bool paintBottom

Whether to paint border at bottom

bool paintRight

Whether to paint border at right

bool paintLeft

Whether to paint border at left

bool diagonalUpDownPainting

Whether to paint border for a diagonal line

int xCross

X coordinate where the cross diagonal line starts

int yCross

Y coordinate where the cross diagonal line starts

int widthCross

Width of the cross rectangle

int heightCross

Height of the cross rectangle