- java.lang.Object
-
- com.lowagie.text.pdf.PdfObject
-
- com.lowagie.text.pdf.PdfArray
-
- com.lowagie.text.pdf.PdfDashPattern
-
-
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 voidadd(float n)voidtoPdf(PdfWriter writer, OutputStream os)Returns the PDF representation of thisPdfArray.-
Methods inherited from class com.lowagie.text.pdf.PdfArray
add, add, add, add, addFirst, contains, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getElements, getPdfObject, isEmpty, listIterator, remove, remove, set, size, toString
-
Methods inherited from class com.lowagie.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.- Parameters:
dash-dash
-
PdfDashPattern
public PdfDashPattern(float dash, float gap)Constructs a newPdfDashPattern.
-
-
Method Detail
-
add
public void add(float n)
-
toPdf
public void toPdf(PdfWriter writer, OutputStream os) throws IOException
Returns the PDF representation of thisPdfArray.- Overrides:
toPdfin classPdfArray- Parameters:
writer- for backwards compatibilityos- theOutputStreamto write the bytes to.- Throws:
IOException- on error
-
-