Table of Contents

Class RoundDotsBorder

Namespace
iText.Layout.Borders
Assembly
itext.layout.dll

Draws a border with rounded dots around the element it's been set to.

public class RoundDotsBorder : Border
Inheritance
RoundDotsBorder
Inherited Members

Remarks

Draws a border with rounded dots around the element it's been set to. For square dots see DottedBorder.

Constructors

RoundDotsBorder(float)

Creates a RoundDotsBorder with the specified wit?dth and sets the color to black.

public RoundDotsBorder(float width)

Parameters

width float

width of the border

RoundDotsBorder(Color, float)

Creates a RoundDotsBorder with the specified wit?dth and the specified color.

public RoundDotsBorder(Color color, float width)

Parameters

color Color

color of the border

width float

width of the border

RoundDotsBorder(Color, float, float)

Creates a RoundDotsBorder with the specified width, color and opacity.

public RoundDotsBorder(Color color, float width, float opacity)

Parameters

color Color

color of the border

width float

width of the border

opacity float

width of the border

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 PdfCanvas
x1 float
y1 float
x2 float
y2 float
horizontalRadius1 float
verticalRadius1 float
horizontalRadius2 float
verticalRadius2 float
defaultSide Border.Side
borderWidthBefore float
borderWidthAfter 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 PdfCanvas
x1 float
y1 float
x2 float
y2 float
defaultSide Border.Side
borderWidthBefore float
borderWidthAfter 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

canvas PdfCanvas
x1 float
y1 float
x2 float
y2 float
defaultSide Border.Side

GetBorderType()

public override int GetBorderType()

Returns

int