Package com.lowagie.text.pdf
Class PdfDashPattern
java.lang.Object
com.lowagie.text.pdf.PdfObject
com.lowagie.text.pdf.PdfArray
com.lowagie.text.pdf.PdfDashPattern
Deprecated.
A
PdfDashPattern defines a dash pattern as described in the PDF Reference Manual version 1.3 p 325
(section 8.4.3).- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate floatDeprecated.This is the length of a dash.private floatDeprecated.This is the length of a gap.private floatDeprecated.This is the phase. -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Constructs a newPdfDashPattern.PdfDashPattern(float dash) Deprecated.Constructs a newPdfDashPattern.PdfDashPattern(float dash, float gap) Deprecated.Constructs a newPdfDashPattern.PdfDashPattern(float dash, float gap, float phase) Deprecated.Constructs a newPdfDashPattern. -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(float n) Deprecated.voidtoPdf(PdfWriter writer, OutputStream os) Deprecated.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, toStringMethods inherited from class com.lowagie.text.pdf.PdfObject
canBeInObjStm, getBytes, getIndRef, isArray, isBoolean, isDictionary, isIndirect, isName, isNull, isNumber, isStream, isString, length, setContent, setIndRef, type
-
Field Details
-
dash
private float dashDeprecated.This is the length of a dash. -
gap
private float gapDeprecated.This is the length of a gap. -
phase
private float phaseDeprecated.This is the phase.
-
-
Constructor Details
-
PdfDashPattern
public PdfDashPattern()Deprecated.Constructs a newPdfDashPattern. -
PdfDashPattern
public PdfDashPattern(float dash) Deprecated.Constructs a newPdfDashPattern.- Parameters:
dash-dash
-
PdfDashPattern
public PdfDashPattern(float dash, float gap) Deprecated.Constructs a newPdfDashPattern. -
PdfDashPattern
public PdfDashPattern(float dash, float gap, float phase) Deprecated.Constructs a newPdfDashPattern.
-
-
Method Details
-
add
public void add(float n) Deprecated. -
toPdf
Deprecated.Returns the PDF representation of thisPdfArray.- Overrides:
toPdfin classPdfArray- Parameters:
writer- for backwards compatibilityos- theOutputStreamto write the bytes to.- Throws:
IOException- on error
-