Interface Style


public interface Style
Style information.
  • Method Details

    • getBackground

      Sprite getBackground()
      Get the background texture.
      Returns:
      A texture sprite.
    • getBorder

      Border getBorder()
      Get component border.
      Returns:
      A border, or null to use default.
    • getBorderDown

      Border getBorderDown()
      Get component border for lowered borders.
      Returns:
      border, or null if none defined.
    • getFont

      Font getFont()
      Get the normal font.
      Returns:
      A font.
    • getForeground

      Color getForeground()
      Get the foreground color appropriate for the background texture.
      Returns:
      A color.
    • getHighLightColor

      Color getHighLightColor()
      Get a light color used for highlighting.
      Returns:
      A color.
    • getShadowColor

      Color getShadowColor()
      Get a dark color used for darkening.
      Returns:
      A color.
    • getPlainColor

      Color getPlainColor()
      Get a color that roughly represents the background.
      Returns:
      plain color