Table of Contents

Class OutsetBorder

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

Represents a Border3D with an outset effect being applied.

public class OutsetBorder : Border3D
Inheritance
OutsetBorder
Inherited Members

Constructors

OutsetBorder(float)

Creates an OutsetBorder instance with the specified width.

public OutsetBorder(float width)

Parameters

width float

width of the border

Remarks

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

OutsetBorder(DeviceCmyk, float)

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

public OutsetBorder(DeviceCmyk color, float width)

Parameters

color DeviceCmyk

the cmyk color of the border

width float

width of the border

OutsetBorder(DeviceCmyk, float, float)

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

public OutsetBorder(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

OutsetBorder(DeviceGray, float)

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

public OutsetBorder(DeviceGray color, float width)

Parameters

color DeviceGray

the gray color of the border

width float

width of the border

OutsetBorder(DeviceGray, float, float)

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

public OutsetBorder(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

OutsetBorder(DeviceRgb, float)

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

public OutsetBorder(DeviceRgb color, float width)

Parameters

color DeviceRgb

the rgb color of the border

width float

width of the border

OutsetBorder(DeviceRgb, float, float)

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

public OutsetBorder(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