Table of Contents

Class PdfDashPattern

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

Represents the line dash pattern.

public class PdfDashPattern
Inheritance
PdfDashPattern
Inherited Members

Remarks

Represents the line dash pattern. The line dash pattern shall control the pattern of dashes and gaps used to stroke paths. It shall be specified by a dash, gap and a dash phase.

Constructors

PdfDashPattern()

Creates a new line dash pattern.

public PdfDashPattern()

PdfDashPattern(float)

Creates a new line dash pattern.

public PdfDashPattern(float dash)

Parameters

dash float

length of dash

PdfDashPattern(float, float)

Creates a new line dash pattern.

public PdfDashPattern(float dash, float gap)

Parameters

dash float

length of dash

gap float

length of gap

PdfDashPattern(float, float, float)

Creates a new line dash pattern.

public PdfDashPattern(float dash, float gap, float phase)

Parameters

dash float

length of dash

gap float

length of gap

phase float

this is the phase

Methods

GetDash()

Gets dash of PdfDashPattern.

public virtual float GetDash()

Returns

float

float value.

GetGap()

Gets gap of PdfDashPattern.

public virtual float GetGap()

Returns

float

float value.

GetPhase()

Gets phase of PdfDashPattern.

public virtual float GetPhase()

Returns

float

float value.