[]
Paints the border inside the specified rectangle.
public virtual void Paint(Graphics g, int x, int y, int width, int height)
Public Overridable Sub Paint(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer)
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 line border, in pixels |
int | height | Height of the line border, in pixels |
Paints the border inside the specified rectangle.
public virtual void Paint(Graphics g, int x, int y, int width, int height, bool rightToLeft)
Public Overridable Sub Paint(g As Graphics, x As Integer, y As Integer, width As Integer, height As Integer, rightToLeft As Boolean)
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 line border, in pixels |
int | height | Height of the line border, in pixels |
bool | rightToLeft | Whether to draw the border with a right-to-left orientation |
Paints (prints) to PDF the border inside the specified rectangle.
public virtual void Paint(IBorderGraphics g, float x, float y, float width, float height, bool rightToLeft)
Public Overridable Sub Paint(g As IBorderGraphics, x As Single, y As Single, width As Single, height As Single, rightToLeft As Boolean)
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 line border, in pixels |
float | height | Height of the line border, in pixels |
bool | rightToLeft | Whether to draw the border with a right-to-left orientation |