[]
        
(Showing Draft Content)

FarPoint.Win.RoundedLineBorder.Paint

Paint Method

Paint(Graphics, int, int, int, int)

Paints the rounded-edge, single-line border inside the specified rectangle.

Declaration
public override void Paint(Graphics g, int x, int y, int width, int height)
Public Overrides Sub Paint(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer)
Parameters
Type Name Description
Graphics g

Graphics device interface

int x

X-coordinate for the top-left corner

int y

Y-coordinate for the top-left corner

int width

Width of the border, in pixels

int height

Height of the border, in pixels

Overrides

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

Paints the rounded-edge, single-line border inside the specified rectangle.

Declaration
public override void Paint(Graphics g, int x, int y, int width, int height, bool rightToLeft)
Public Overrides Sub Paint(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, rightToLeft As Boolean)
Parameters
Type Name Description
Graphics g

Graphics device interface

int x

X-coordinate for the top-left corner

int y

Y-coordinate for the top-left corner

int width

Width of the border, in pixels

int height

Height of the border, in pixels

bool rightToLeft

Whether to draw the border with a right-to-left orientation

Overrides

Paint(IBorderGraphics, float, float, float, float, bool)

Paints (prints) the rounded-edge, single-line border inside the specified rectangle to PDF.

Declaration
public override void Paint(IBorderGraphics g, float x, float y, float width, float height, bool rightToLeft)
Public Overrides Sub Paint(g As IBorderGraphics, x As Single, y As Single, width As Single, height As Single, rightToLeft As Boolean)
Parameters
Type Name Description
IBorderGraphics g

Graphics device interface

float x

X-coordinate for the top-left corner

float y

Y-coordinate for the top-left corner

float width

Width of the border, in pixels

float height

Height of the border, in pixels

bool rightToLeft

Whether to draw the border with a right-to-left orientation

Overrides