Package com.itextpdf.text.pdf
Class PdfDashPattern
- java.lang.Object
-
- com.itextpdf.text.pdf.PdfObject
-
- com.itextpdf.text.pdf.PdfArray
-
- com.itextpdf.text.pdf.PdfDashPattern
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<PdfObject>
public class PdfDashPattern extends PdfArray
APdfDashPattern
defines a dash pattern as described in the PDF Reference Manual version 1.3 p 325 (section 8.4.3).- See Also:
PdfArray
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PdfDashPattern()
Constructs a newPdfDashPattern
.PdfDashPattern(float dash)
Constructs a newPdfDashPattern
.PdfDashPattern(float dash, float gap)
Constructs a newPdfDashPattern
.PdfDashPattern(float dash, float gap, float phase)
Constructs a newPdfDashPattern
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(float n)
void
toPdf(PdfWriter writer, java.io.OutputStream os)
Returns the PDF representation of thisPdfArray
.-
Methods inherited from class com.itextpdf.text.pdf.PdfArray
add, add, add, add, addFirst, asDoubleArray, asLongArray, contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getPdfObject, isEmpty, iterator, listIterator, remove, set, size, toString
-
Methods inherited from class com.itextpdf.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
-
-
-
Constructor Detail
-
PdfDashPattern
public PdfDashPattern()
Constructs a newPdfDashPattern
.
-
PdfDashPattern
public PdfDashPattern(float dash)
Constructs a newPdfDashPattern
.
-
PdfDashPattern
public PdfDashPattern(float dash, float gap)
Constructs a newPdfDashPattern
.
-
PdfDashPattern
public PdfDashPattern(float dash, float gap, float phase)
Constructs a newPdfDashPattern
.
-
-
Method Detail
-
add
public void add(float n)
-
toPdf
public void toPdf(PdfWriter writer, java.io.OutputStream os) throws java.io.IOException
Returns the PDF representation of thisPdfArray
.
-
-