Constructor PdfDashPattern
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfDashPattern()
Initializes a new empty instance of the PdfDashPattern class.
public PdfDashPattern()
PdfDashPattern(double[])
Initializes a new instance of the PdfDashPattern class.
public PdfDashPattern(double[] pattern)
Parameters
pattern
double[]The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
Remarks
This constructor creates dash pattern with
Offset set to zero. The elements in
the pattern
array set the length of each dash
and gap in the dash pattern. The first element of the
pattern
array specifies the length
of a dash, the second element specifies the length of a space,
the third element specifies the length of a dash, and so on.
PdfDashPattern(float[])
Initializes a new instance of the PdfDashPattern class.
public PdfDashPattern(float[] pattern)
Parameters
pattern
float[]The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
Remarks
This constructor creates dash pattern with
Offset set to zero. The elements in
the pattern
array set the length of each dash
and gap in the dash pattern. The first element of the
pattern
array specifies the length
of a dash, the second element specifies the length of a space,
the third element specifies the length of a dash, and so on.
PdfDashPattern(double[], double)
Initializes a new instance of the PdfDashPattern class.
public PdfDashPattern(double[] pattern, double offset)
Parameters
pattern
double[]The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
offset
doubleThe distance from the start of a line to the beginning of the dash pattern.
Remarks
The elements in
the pattern
array set the length of each dash
and gap in the dash pattern. The first element of the
pattern
array specifies the length
of a dash, the second element specifies the length of a space,
the third element specifies the length of a dash, and so on.
PdfDashPattern(float[], float)
Initializes a new instance of the PdfDashPattern class.
public PdfDashPattern(float[] pattern, float offset)
Parameters
pattern
float[]The pattern (the array of numbers that specifies the lengths of alternating dashes and gaps).
offset
floatThe distance from the start of a line to the beginning of the dash pattern.
Remarks
The elements in
the pattern
array set the length of each dash
and gap in the dash pattern. The first element of the
pattern
array specifies the length
of a dash, the second element specifies the length of a space,
the third element specifies the length of a dash, and so on.