Package com.github.weisj.darklaf.icons
Class RotatableIcon
java.lang.Object
com.github.weisj.darklaf.icons.RotatableIcon
- All Implemented Interfaces:
Icon
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetAngle()getIcon()intintcom.github.weisj.darklaf.util.AlignmentvoidvoidvoidsetOrientation(com.github.weisj.darklaf.util.Alignment alignment)voidsetRotation(double angle)
-
Constructor Details
-
RotatableIcon
public RotatableIcon() -
RotatableIcon
-
-
Method Details
-
setIcon
-
getIcon
-
paintIcon
-
getAngle
public double getAngle() -
getIconWidth
public int getIconWidth()- Specified by:
getIconWidthin interfaceIcon
-
getIconHeight
public int getIconHeight()- Specified by:
getIconHeightin interfaceIcon
-
getOrientation
public com.github.weisj.darklaf.util.Alignment getOrientation() -
setOrientation
public void setOrientation(com.github.weisj.darklaf.util.Alignment alignment) -
setRotation
public void setRotation(double angle)
-