Table of Contents

Class GrooveBorder

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

Represents a Border3D with a groove effect being applied.

public class GrooveBorder : Border3D
Inheritance
GrooveBorder
Inherited Members

Constructors

GrooveBorder(float)

Creates a GrooveBorder instance with the specified width.

public GrooveBorder(float width)

Parameters

width float

width of the border

Remarks

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

GrooveBorder(DeviceCmyk, float)

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

public GrooveBorder(DeviceCmyk color, float width)

Parameters

color DeviceCmyk

the cmyk color of the border

width float

width of the border

GrooveBorder(DeviceCmyk, float, float)

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

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

GrooveBorder(DeviceGray, float)

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

public GrooveBorder(DeviceGray color, float width)

Parameters

color DeviceGray

the gray color of the border

width float

width of the border

GrooveBorder(DeviceGray, float, float)

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

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

GrooveBorder(DeviceRgb, float)

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

public GrooveBorder(DeviceRgb color, float width)

Parameters

color DeviceRgb

the rgb color of the border

width float

width of the border

GrooveBorder(DeviceRgb, float, float)

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

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