| org.jfree.ui.ExtendedDrawable
ExtendedDrawable | public interface ExtendedDrawable extends Drawable(Code) | | A drawable that has a preferred size and aspect ratio. Implement this interface to gain
some control over the rendering and layouting process for the drawable.
author: Thomas Morgner |
getPreferredSize | public Dimension getPreferredSize()(Code) | | 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.
the preferred size. |
isPreserveAspectRatio | public boolean isPreserveAspectRatio()(Code) | | Returns true, if this drawable will preserve an aspect ratio during the drawing.
true, if an aspect ratio is preserved, false otherwise. |
|
|