Table of Contents

Class PdfDashPattern

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

Class for a line dash pattern. The line dash pattern controls the pattern of dashes and gaps used to stroke paths.

public sealed class PdfDashPattern
Inheritance
PdfDashPattern
Inherited Members

Remarks

Check the Decoration section for an example of using dash patterns.

The Docotic.Pdf Library Documentation page contains links to articles, guides, and sample code.

Constructors

PdfDashPattern()

Initializes a new empty instance of the PdfDashPattern class.

PdfDashPattern(double[])

Initializes a new instance of the PdfDashPattern class.

PdfDashPattern(double[], double)

Initializes a new instance of the PdfDashPattern class.

PdfDashPattern(float[])

Initializes a new instance of the PdfDashPattern class.

PdfDashPattern(float[], float)

Initializes a new instance of the PdfDashPattern class.

Properties

Offset

Gets the distance from the start of a line to the beginning of the dash pattern.

Methods

Equals(object?)

Determines whether the specified object is equal to this PdfDashPattern instance.

GetHashCode()

Returns a hash code for this PdfDashPattern instance.

GetPattern()

Gets the pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).

Operators

operator ==(PdfDashPattern, PdfDashPattern)

Determines whether the two specified PdfDashPattern objects are identical.

operator !=(PdfDashPattern, PdfDashPattern)

Determines whether the two specified PdfDashPattern objects are not identical.