Table of Contents

Class SolidLine

Namespace
iText.Kernel.Pdf.Canvas.Draw
Assembly
itext.kernel.dll

Implementation of ILineDrawer which draws a solid horizontal line along the bottom edge of the specified rectangle.

public class SolidLine : ILineDrawer
Inheritance
SolidLine
Implements
Inherited Members

Constructors

SolidLine()

Constructs an instance of solid line drawer

public SolidLine()

SolidLine(float)

Constructs an instance of solid line drawer with the specified line thickness

public SolidLine(float lineWidth)

Parameters

lineWidth float

line width

Methods

Draw(PdfCanvas, Rectangle)

public virtual void Draw(PdfCanvas canvas, Rectangle drawArea)

Parameters

canvas PdfCanvas
drawArea Rectangle

GetColor()

public virtual Color GetColor()

Returns

Color

GetLineWidth()

Gets line width in points

public virtual float GetLineWidth()

Returns

float

line thickness

SetColor(Color)

public virtual void SetColor(Color color)

Parameters

color Color

SetLineWidth(float)

Sets line width in points

public virtual void SetLineWidth(float lineWidth)

Parameters

lineWidth float

new line width