com.atlassian.jira.lookandfeel
Class HSBColor
java.lang.Object
com.atlassian.jira.lookandfeel.HSBColor
public class HSBColor
- extends Object
HSBColor
public HSBColor(Color color)
HSBColor
public HSBColor(String hexString)
HSBColor
public HSBColor(int hue,
int saturation,
int brightness)
getHue
public int getHue()
getSaturation
public int getSaturation()
getBrightness
public int getBrightness()
getColor
public Color getColor()
getHexString
public String getHexString()
getPerceivedBrightness
public float getPerceivedBrightness()
hasTransparency
public boolean hasTransparency()
lightenByPercentage
public HSBColor lightenByPercentage(float percentage)
lightenByAmount
public HSBColor lightenByAmount(int amount)
darkenByPercentage
public HSBColor darkenByPercentage(float percentage)
darkenByAmount
public HSBColor darkenByAmount(int amount)
saturateByPercentage
public HSBColor saturateByPercentage(float percentage)
saturateByAmount
public HSBColor saturateByAmount(int amount)
desaturateByPercentage
public HSBColor desaturateByPercentage(float percentage)
desaturateByAmount
public HSBColor desaturateByAmount(int amount)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2002-2014 Atlassian. All Rights Reserved.