public class PageBackgroundDrawable extends Object
Constructor and Description |
---|
PageBackgroundDrawable() |
Modifier and Type | Method and Description |
---|---|
void |
draw(Graphics2D graphics,
Rectangle2D area)
Draws the object.
|
PageDrawable |
getBackend() |
int |
getDefaultHeight() |
int |
getDefaultWidth() |
Dimension |
getPreferredSize() |
float |
getShadowSize() |
double |
getZoom() |
boolean |
isBorderPainted() |
boolean |
isPreserveAspectRatio() |
void |
setBackend(PageDrawable backend) |
void |
setBorderPainted(boolean borderPainted) |
void |
setDefaultHeight(int defaultHeight) |
void |
setDefaultWidth(int defaultWidth) |
void |
setShadowSize(float shadowSize) |
void |
setZoom(double zoom) |
public PageDrawable getBackend()
public void setBackend(PageDrawable backend)
public boolean isBorderPainted()
public void setBorderPainted(boolean borderPainted)
public double getZoom()
public void setZoom(double zoom)
public int getDefaultWidth()
public void setDefaultWidth(int defaultWidth)
public int getDefaultHeight()
public void setDefaultHeight(int defaultHeight)
public Dimension getPreferredSize()
public boolean isPreserveAspectRatio()
public float getShadowSize()
public void setShadowSize(float shadowSize)
public void draw(Graphics2D graphics, Rectangle2D area)
graphics
- the graphics device.area
- the area inside which the object should be drawn.Copyright © 2002–2017 Pentaho Corporation. All rights reserved.