public class RotatedIcon extends Object implements Icon
Constructor and Description |
---|
RotatedIcon(Icon icon,
QuadrantRotation rotation)
Create a RotatedIcon
|
Modifier and Type | Method and Description |
---|---|
Icon |
getIcon()
Gets the Icon to be rotated
|
int |
getIconHeight()
Gets the height of this icon.
|
int |
getIconWidth()
Gets the width of this icon.
|
QuadrantRotation |
getRotation() |
void |
paintIcon(Component c,
Graphics g,
int x,
int y)
Paint the icons of this compound icon at the specified location
|
public RotatedIcon(Icon icon, QuadrantRotation rotation)
icon
- the Icon to rotaterotation
- the rotation to be appliedpublic Icon getIcon()
public QuadrantRotation getRotation()
public int getIconWidth()
getIconWidth
in interface Icon
public int getIconHeight()
getIconHeight
in interface Icon
Copyright © 2024 levigo holding gmbh. All rights reserved.