Class ShiftedIcon
java.lang.Object
org.pushingpixels.substance.internal.contrib.randelshofer.quaqua.util.ShiftedIcon
- All Implemented Interfaces:
Icon
ShiftedIcon renders a target icon at a different location and can return
different width and height values than the target.
-
Constructor Summary
ConstructorsConstructorDescriptionShiftedIcon
(Icon target, Point shift) Creates a new instance.ShiftedIcon
(Icon target, Rectangle shiftAndSize) -
Method Summary
Modifier and TypeMethodDescriptionint
int
void
-
Constructor Details
-
ShiftedIcon
Creates a new instance. -
ShiftedIcon
-
-
Method Details
-
paintIcon
-
getIconWidth
public int getIconWidth()- Specified by:
getIconWidth
in interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeight
in interfaceIcon
-