Package org.geotools.map.legend
Class ReIcon
Object
ReIcon
Quick utility class used to "resize" an icon.
- Author:
- Jody Garnett
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
ReIcon
-
-
Method Details
-
getIcon
-
getIcon
Produce an icon of the required size.The returned icon is not always an ImageIcon; and may in fact pay attention to your component foreground and background color.
- Parameters:
size
- Size of the icon (usually 16,32 and 48 are supported)- Returns:
- A square icon of the requested size
-