Package de.erichseifert.vectorgraphics2d
Class SizedDocument
java.lang.Object
de.erichseifert.vectorgraphics2d.SizedDocument
- All Implemented Interfaces:
Document
- Direct Known Subclasses:
EPSDocument,PDFDocument,SVGDocument
Abstract base for documents that are restricted to a specified page size.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns whether or not theDocumentrepresents compressed data.
-
Field Details
-
pageSize
-
compressed
private final boolean compressed
-
-
Constructor Details
-
SizedDocument
-
-
Method Details
-
getPageSize
-
isCompressed
public boolean isCompressed()Description copied from interface:DocumentReturns whether or not theDocumentrepresents compressed data.- Specified by:
isCompressedin interfaceDocument- Returns:
trueif the contents are compressed,falseotherwise.
-