|
![]() |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfArray
com.lowagie.text.pdf.PdfDashPattern
public class PdfDashPattern
A PdfDashPattern
defines a dash pattern as described in
the PDF Reference Manual version 1.3 p 325 (section 8.4.3).
PdfArray
Field Summary | |
---|---|
private float |
dash
This is the length of a dash. |
private float |
gap
This is the length of a gap. |
private float |
phase
This is the phase. |
Fields inherited from class com.lowagie.text.pdf.PdfArray |
---|
arrayList |
Fields inherited from class com.lowagie.text.pdf.PdfObject |
---|
ARRAY, BOOLEAN, bytes, DICTIONARY, INDIRECT, indRef, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE, type |
Constructor Summary | |
---|---|
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 . |
Method Summary | |
---|---|
void |
add(float n)
|
void |
toPdf(PdfWriter writer,
OutputStream os)
Returns the PDF representation of this PdfArray . |
Methods inherited from class com.lowagie.text.pdf.PdfArray |
---|
add, add, add, add, addFirst, contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getPdfObject, isEmpty, listIterator, 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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private float dash
private float gap
private float phase
Constructor Detail |
---|
public PdfDashPattern()
PdfDashPattern
.
public PdfDashPattern(float dash)
PdfDashPattern
.
public PdfDashPattern(float dash, float gap)
PdfDashPattern
.
public PdfDashPattern(float dash, float gap, float phase)
PdfDashPattern
.
Method Detail |
---|
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
|
Hosted by Hostbasket | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |