Class DottedBorder
Draws a dotted border around the element it has been set to.
public class DottedBorder : Border
- Inheritance
-
DottedBorder
- Inherited Members
Remarks
Draws a dotted border around the element it has been set to. Do note that this border draw square dots, if you want to draw round dots, see RoundDotsBorder.
Constructors
DottedBorder(float)
Creates a DottedBorder instance with the specified width.
public DottedBorder(float width)
Parameters
width
floatwidth of the border
Remarks
Creates a DottedBorder instance with the specified width. The color is set to the default: black.
DottedBorder(Color, float)
Creates a DottedBorder instance with the specified width and color.
public DottedBorder(Color color, float width)
Parameters
DottedBorder(Color, float, float)
Creates a DottedBorder with the specified width, color and opacity.
public DottedBorder(Color color, float width, float opacity)
Parameters
Methods
Draw(PdfCanvas, float, float, float, float, float, float, float, float, Side, float, float)
public override void Draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, float horizontalRadius1, float verticalRadius1, float horizontalRadius2, float verticalRadius2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
Parameters
canvas
PdfCanvasx1
floaty1
floatx2
floaty2
floathorizontalRadius1
floatverticalRadius1
floathorizontalRadius2
floatverticalRadius2
floatdefaultSide
Border.SideborderWidthBefore
floatborderWidthAfter
float
Draw(PdfCanvas, float, float, float, float, Side, float, float)
public override void Draw(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide, float borderWidthBefore, float borderWidthAfter)
Parameters
canvas
PdfCanvasx1
floaty1
floatx2
floaty2
floatdefaultSide
Border.SideborderWidthBefore
floatborderWidthAfter
float
DrawCellBorder(PdfCanvas, float, float, float, float, Side)
public override void DrawCellBorder(PdfCanvas canvas, float x1, float y1, float x2, float y2, Border.Side defaultSide)
Parameters
GetBorderType()
public override int GetBorderType()