Class ColorHSB

java.lang.Object
java.awt.Color
net.sourceforge.plantuml.graphic.color.ColorHSB
All Implemented Interfaces:
java.awt.Paint, java.awt.Transparency, java.io.Serializable

public class ColorHSB extends java.awt.Color
Color with hue, saturation and brightness.
See Also:
  • Field Summary

    Fields inherited from class java.awt.Color

    black, BLACK, blue, BLUE, cyan, CYAN, DARK_GRAY, darkGray, gray, GRAY, green, GREEN, LIGHT_GRAY, lightGray, magenta, MAGENTA, orange, ORANGE, pink, PINK, red, RED, white, WHITE, yellow, YELLOW

    Fields inherited from interface java.awt.Transparency

    BITMASK, OPAQUE, TRANSLUCENT
  • Constructor Summary

    Constructors
    Constructor
    Description
    ColorHSB(int rgba)
     
    ColorHSB(java.awt.Color other)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    float
     
    float
     
    float
     
    java.lang.String
     

    Methods inherited from class java.awt.Color

    brighter, createContext, darker, decode, equals, getAlpha, getBlue, getColor, getColor, getColor, getColorComponents, getColorComponents, getColorSpace, getComponents, getComponents, getGreen, getHSBColor, getRed, getRGB, getRGBColorComponents, getRGBComponents, getTransparency, hashCode, HSBtoRGB, RGBtoHSB

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ColorHSB

      public ColorHSB(int rgba)
    • ColorHSB

      public ColorHSB(java.awt.Color other)
  • Method Details

    • getHue

      public float getHue()
    • getSaturation

      public float getSaturation()
    • getBrightness

      public float getBrightness()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.awt.Color