Table of Contents

Class SvgStrokeParameterConverter.PdfLineDashParameters

Namespace
iText.Svg.Css
Assembly
itext.svg.dll

This class represents PDF dash parameters.

public class SvgStrokeParameterConverter.PdfLineDashParameters
Inheritance
SvgStrokeParameterConverter.PdfLineDashParameters
Inherited Members

Constructors

PdfLineDashParameters(float[], float)

Construct PDF dash parameters.

public PdfLineDashParameters(float[] dashArray, float dashPhase)

Parameters

dashArray float[]

Numbers that specify the lengths of alternating dashes and gaps; the numbers shall be nonnegative and not all zero.

dashPhase float

A number that specifies the distance into the dash pattern at which to start the dash.

Methods

Equals(object)

Check if some object is equal to the given object.

public override bool Equals(object o)

Parameters

o object

Returns

bool

GetDashArray()

Return dash array.

public virtual float[] GetDashArray()

Returns

float[]

dash array.

GetDashPhase()

Return dash phase.

public virtual float GetDashPhase()

Returns

float

dash phase.

GetHashCode()

Generate a hash code for this object.

public override int GetHashCode()

Returns

int

hash code.