Class ImageButtonRenderer

java.lang.Object
dev.prozilla.pine.core.component.Component
dev.prozilla.pine.core.component.canvas.ImageButtonRenderer
All Implemented Interfaces:
Lifecycle, Printable, ComponentFinder, EntityFinder

public class ImageButtonRenderer extends Component
A component for rendering buttons with images on the canvas.
  • Field Details

    • hoverColor

      public Color hoverColor
    • backgroundHoverColor

      public Color backgroundHoverColor
    • backgroundColor

      public Color backgroundColor
    • padding

      public DualDimension padding
    • DEFAULT_BACKGROUND_COLOR

      public static final Color DEFAULT_BACKGROUND_COLOR
    • DEFAULT_BACKGROUND_HOVER_COLOR

      public static final Color DEFAULT_BACKGROUND_HOVER_COLOR
  • Constructor Details

    • ImageButtonRenderer

      public ImageButtonRenderer()
    • ImageButtonRenderer

      public ImageButtonRenderer(Color backgroundColor)
  • Method Details