public class PrintViewport2D extends Viewport2D
EMPTY_GEOMETRY| Constructor and Description |
|---|
PrintViewport2D(Project map,
Graphics2D graphics,
PageFormat pageFormat,
BoundingBox boundingBox,
Rectangle2D contentRect,
int dpi) |
| Modifier and Type | Method and Description |
|---|---|
javax.measure.unit.Unit<javax.measure.quantity.Length> |
getScreenUnit()
Get the unit of measure for the printable page.
|
int |
getViewHeightPixels() |
int |
getViewWidthPixels() |
createModelToScreenTransform, createScreenToModelTransform, drawGeometry, drawText, 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, getUnitsPerPixel, getUnitsPerPixel, getViewAspectRatio, getViewHeightLength, getViewToModelUnit, getViewWidthLength, getZoomOutScale, isHidden, isInitialized, render, setBoundingBox, setBoundingBoxInternal, setGeometryFactory, setInitialized, setScale, setScales, setViewHeight, setViewWidth, toDisplayValue, toDisplayValue, toModelCoordinates, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPoint, toModelPointRounded, toViewCoordinates, toViewPoint, toViewPoint, updatepublic PrintViewport2D(Project map, Graphics2D graphics, PageFormat pageFormat, BoundingBox boundingBox, Rectangle2D contentRect, int dpi)
public javax.measure.unit.Unit<javax.measure.quantity.Length> getScreenUnit()
getScreenUnit in class Viewport2Dpublic int getViewHeightPixels()
getViewHeightPixels in class Viewport2Dpublic int getViewWidthPixels()
getViewWidthPixels in class Viewport2DCopyright © 2015 Revolution Systems Inc.. All rights reserved.