Package org.jfree.ui
Interface ExtendedDrawable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Dimension
getPreferredSize()
Returns the preferred size of the drawable.boolean
isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the drawing.
-
-
-
Method Detail
-
getPreferredSize
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.- Returns:
- the preferred size.
-
isPreserveAspectRatio
boolean isPreserveAspectRatio()
Returns true, if this drawable will preserve an aspect ratio during the drawing.- Returns:
- true, if an aspect ratio is preserved, false otherwise.
-
-