Constructor and Description |
---|
PdfDashPattern()
Constructs a new
PdfDashPattern . |
PdfDashPattern(float dash)
Constructs a new
PdfDashPattern . |
PdfDashPattern(float dash,
float gap)
Constructs a new
PdfDashPattern . |
PdfDashPattern(float dash,
float gap,
float phase)
Constructs a new
PdfDashPattern . |
Modifier and Type | Method and Description |
---|---|
void |
add(float n) |
void |
toPdf(PdfWriter writer,
OutputStream os)
Returns the PDF representation of this
PdfArray . |
add, add, add, add, addFirst, contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getElements, getPdfObject, isEmpty, listIterator, remove, set, size, toString
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
public PdfDashPattern()
PdfDashPattern
.public PdfDashPattern(float dash)
PdfDashPattern
.dash
- dash
public PdfDashPattern(float dash, float gap)
PdfDashPattern
.public void add(float n)
public void toPdf(PdfWriter writer, OutputStream os) throws IOException
PdfArray
.toPdf
in class PdfArray
writer
- for backwards compatibilityos
- the OutputStream
to write the bytes to.IOException
- on errorCopyright © 2020. All rights reserved.