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 TypeMethodDescriptionboolean
Returns whether or not theDocument
represents compressed data.
-
Field Details
-
pageSize
-
compressed
private final boolean compressed
-
-
Constructor Details
-
SizedDocument
-
-
Method Details
-
getPageSize
-
isCompressed
public boolean isCompressed()Description copied from interface:Document
Returns whether or not theDocument
represents compressed data.- Specified by:
isCompressed
in interfaceDocument
- Returns:
true
if the contents are compressed,false
otherwise.
-