Table of Contents

Class InsetBorder

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

Represents a Border3D with an inset effect being applied.

public class InsetBorder : Border3D
Inheritance
InsetBorder
Inherited Members

Constructors

InsetBorder(float)

Creates an InsetBorder instance with the specified width.

public InsetBorder(float width)

Parameters

width float

width of the border

Remarks

Creates an InsetBorder instance with the specified width. The color is set to the predefined gray.

InsetBorder(DeviceCmyk, float)

Creates an InsetBorder instance with the specified width and the cmyk color.

public InsetBorder(DeviceCmyk color, float width)

Parameters

color DeviceCmyk

the cmyk color of the border

width float

width of the border

InsetBorder(DeviceCmyk, float, float)

Creates an InsetBorder instance with the specified width, color and opacity.

public InsetBorder(DeviceCmyk color, float width, float opacity)

Parameters

color DeviceCmyk

color of the border

width float

width of the border

opacity float

opacity of the border

InsetBorder(DeviceGray, float)

Creates an InsetBorder instance with the specified width and the gray color.

public InsetBorder(DeviceGray color, float width)

Parameters

color DeviceGray

the gray color of the border

width float

width of the border

InsetBorder(DeviceGray, float, float)

Creates an InsetBorder instance with the specified width, color and opacity.

public InsetBorder(DeviceGray color, float width, float opacity)

Parameters

color DeviceGray

color of the border

width float

width of the border

opacity float

opacity of the border

InsetBorder(DeviceRgb, float)

Creates an InsetBorder instance with the specified width and the rgb color.

public InsetBorder(DeviceRgb color, float width)

Parameters

color DeviceRgb

the rgb color of the border

width float

width of the border

InsetBorder(DeviceRgb, float, float)

Creates an InsetBorder instance with the specified width, color and opacity.

public InsetBorder(DeviceRgb color, float width, float opacity)

Parameters

color DeviceRgb

color of the border

width float

width of the border

opacity float

opacity of the border

Methods

GetBorderType()

public override int GetBorderType()

Returns

int

SetInnerHalfColor(PdfCanvas, Side)

protected override void SetInnerHalfColor(PdfCanvas canvas, Border.Side side)

Parameters

canvas PdfCanvas
side Border.Side

SetOuterHalfColor(PdfCanvas, Side)

protected override void SetOuterHalfColor(PdfCanvas canvas, Border.Side side)

Parameters

canvas PdfCanvas
side Border.Side