public class PdfViewport extends Viewport2D implements AutoCloseable
EMPTY_GEOMETRY| Constructor and Description |
|---|
PdfViewport(org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPage page,
Project project,
int width,
int height,
BoundingBox boundingBox) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
drawGeometry(Geometry geometry,
GeometryStyle style) |
void |
drawText(LayerRecord object,
Geometry geometry,
TextStyle style) |
boolean |
isHidden(AbstractRecordLayer layer,
LayerRecord record) |
createModelToScreenTransform, createScreenToModelTransform, getBoundingBox, getBoundingBox, getBoundingBox, getBoundingBox, getGeometry, getGeometryFactory, getGraphics, getModelHeight, getModelHeightLength, getModelToScreenTransform, getModelUnitsPerViewUnit, getModelWidth, getModelWidthLength, getOriginX, getOriginY, getPixelsPerXUnit, getPixelsPerYUnit, getPixelsPerYUnit, getProject, getPropertyChangeSupport, getRoundedGeometry, getRoundedGeometryFactory, getScale, getScale, getScaleForUnitsPerPixel, getScales, getScreenResolution, getScreenToModelTransform, getScreenUnit, getUnitsPerPixel, getUnitsPerPixel, getViewAspectRatio, getViewHeightLength, getViewHeightPixels, getViewToModelUnit, getViewWidthLength, getViewWidthPixels, getZoomOutScale, isInitialized, render, setBoundingBox, setBoundingBoxInternal, setGeometryFactory, setInitialized, setScale, setScales, setViewHeight, setViewWidth, toDisplayValue, toDisplayValue, toModelCoordinates, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPointRounded, toViewCoordinates, toViewPoint, toViewPoint, updatepublic PdfViewport(org.apache.pdfbox.pdmodel.PDDocument document,
org.apache.pdfbox.pdmodel.PDPage page,
Project project,
int width,
int height,
BoundingBox boundingBox)
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface AutoCloseableIOExceptionpublic void drawGeometry(Geometry geometry, GeometryStyle style)
drawGeometry in class Viewport2Dpublic void drawText(LayerRecord object, Geometry geometry, TextStyle style)
drawText in class Viewport2Dpublic boolean isHidden(AbstractRecordLayer layer, LayerRecord record)
isHidden in class Viewport2DCopyright © 2015 Revolution Systems Inc.. All rights reserved.