org.jfree.layouting.input
public class EmptyImageData extends Object implements ImageData
Constructor Summary | |
---|---|
EmptyImageData() |
Method Summary | |
---|---|
void | draw(Graphics2D g2, Rectangle2D area)
Draws the object.
|
long | getHeight() |
Dimension | getPreferredSize()
Returns the preferred size of the drawable. |
Resource | getSource() |
long | getWidth() |
boolean | isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the
drawing.
|
Parameters: g2 the graphics device. area the area inside which the object should be drawn.
Returns: the preferred size.
Returns: true, if an aspect ratio is preserved, false otherwise.