Constructor PdfDashPattern
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
PdfDashPattern()
Initializes a new empty instance of the PdfDashPattern class.
public PdfDashPattern()
Remarks
Check the Decoration section for an example of using dash patterns.
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.
Check the Decoration section for an example of using dash patterns.
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.
Check the Decoration section for an example of using dash patterns.
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.
Check the Decoration section for an example of using dash patterns.
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.
Check the Decoration section for an example of using dash patterns.