Class RotatableIcon

java.lang.Object
com.github.weisj.darklaf.icons.RotatableIcon
All Implemented Interfaces:
Icon

public class RotatableIcon extends Object implements Icon
  • Constructor Details

    • RotatableIcon

      public RotatableIcon()
    • RotatableIcon

      public RotatableIcon(Icon icon)
  • Method Details

    • setIcon

      public void setIcon(Icon icon)
    • getIcon

      public Icon getIcon()
    • paintIcon

      public void paintIcon(Component c, Graphics g, int x, int y)
      Specified by:
      paintIcon in interface Icon
    • getAngle

      public double getAngle()
    • getIconWidth

      public int getIconWidth()
      Specified by:
      getIconWidth in interface Icon
    • getIconHeight

      public int getIconHeight()
      Specified by:
      getIconHeight in interface Icon
    • 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)