protected class PageFormatPreviewPane.AutoScalePageBackgroundDrawable extends PageBackgroundDrawable
Modifier | Constructor and Description |
---|---|
protected |
AutoScalePageBackgroundDrawable() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D g2,
Rectangle2D area)
Draws the object.
|
Dimension |
getPreferredSize() |
getBackend, getDefaultHeight, getDefaultWidth, getShadowSize, getZoom, isBorderPainted, isPreserveAspectRatio, setBackend, setBorderPainted, setDefaultHeight, setDefaultWidth, setShadowSize, setZoom
public Dimension getPreferredSize()
getPreferredSize
in class PageBackgroundDrawable
public void draw(Graphics2D g2, Rectangle2D area)
draw
in class PageBackgroundDrawable
g2
- the graphics device.area
- the area inside which the object should be drawn.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.