org.jfree.layouting.input
Class EmptyImageData
java.lang.Object
org.jfree.layouting.input.EmptyImageData
- ImageData, Serializable
public class EmptyImageData
extends java.lang.Object
This is a placeholder for non-resolveable image values.
EmptyImageData
public EmptyImageData()
draw
public void draw(Graphics2D g2,
Rectangle2D area)
Draws the object.
- draw in interface ImageData
g2
- the graphics device.area
- the area inside which the object should be drawn.
getPreferredSize
public Dimension getPreferredSize()
Returns the preferred size of the drawable. If the drawable is aspect ratio
aware, these bounds should be used to compute the preferred aspect ratio
for this drawable.
isPreserveAspectRatio
public boolean isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the
drawing.
- true, if an aspect ratio is preserved, false otherwise.