com.lowagie.text.pdf
Class PdfDashPattern

java.lang.Object
  extended bycom.lowagie.text.pdf.PdfObject
      extended bycom.lowagie.text.pdf.PdfArray
          extended bycom.lowagie.text.pdf.PdfDashPattern

public class PdfDashPattern
extends PdfArray

A PdfDashPattern defines a dash pattern as described in the PDF Reference Manual version 1.3 p 325 (section 8.4.3).

See Also:
PdfArray

Field Summary
 
Fields inherited from class com.lowagie.text.pdf.PdfObject
ARRAY, BOOLEAN, DICTIONARY, INDIRECT, NAME, NOTHING, NULL, NUMBER, STREAM, STRING, TEXT_PDFDOCENCODING, TEXT_UNICODE
 
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, addFirst, contains, getArrayList, getAsArray, getAsBoolean, getAsDict, getAsIndirectObject, getAsName, getAsNumber, getAsStream, getAsString, getDirectObject, getPdfObject, listIterator, size, toString
 
Methods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setIndRef, type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PdfDashPattern

public PdfDashPattern()
Constructs a new PdfDashPattern.


PdfDashPattern

public PdfDashPattern(float dash)
Constructs a new PdfDashPattern.


PdfDashPattern

public PdfDashPattern(float dash,
                      float gap)
Constructs a new PdfDashPattern.


PdfDashPattern

public PdfDashPattern(float dash,
                      float gap,
                      float phase)
Constructs a new PdfDashPattern.

Method Detail

add

public void add(float n)

toPdf

public void toPdf(PdfWriter writer,
                  OutputStream os)
           throws IOException
Returns the PDF representation of this PdfArray.

Overrides:
toPdf in class PdfArray
Throws:
IOException


Copyright © 2011 EGIZ - E-Government Innovation Center. All Rights Reserved.