Table of Contents

Class RidgeBorder

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

Represents a Border3D with a ridge effect being applied.

public class RidgeBorder : Border3D
Inheritance
RidgeBorder
Inherited Members

Constructors

RidgeBorder(float)

Creates a RidgeBorder instance with the specified width.

public RidgeBorder(float width)

Parameters

width float

width of the border

Remarks

Creates a RidgeBorder instance with the specified width. The color is set to the predefined gray.

RidgeBorder(DeviceCmyk, float)

Creates a RidgeBorder instance with the specified width and the cmyk color.

public RidgeBorder(DeviceCmyk color, float width)

Parameters

color DeviceCmyk

the cmyk color of the border

width float

width of the border

RidgeBorder(DeviceCmyk, float, float)

Creates a RidgeBorder instance with the specified width, color and opacity.

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

RidgeBorder(DeviceGray, float)

Creates a RidgeBorder instance with the specified width and the gray color.

public RidgeBorder(DeviceGray color, float width)

Parameters

color DeviceGray

the gray color of the border

width float

width of the border

RidgeBorder(DeviceGray, float, float)

Creates a RidgeBorder instance with the specified width, color and opacity.

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

RidgeBorder(DeviceRgb, float)

Creates a RidgeBorder instance with the specified width and the rgb color.

public RidgeBorder(DeviceRgb color, float width)

Parameters

color DeviceRgb

the rgb color of the border

width float

width of the border

RidgeBorder(DeviceRgb, float, float)

Creates a RidgeBorder instance with the specified width, color and opacity.

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