Interface IColor
- All Superinterfaces:
IElement
- All Known Implementing Classes:
Color
-
Method Summary
Modifier and TypeMethodDescriptiondoubleintdoubleintdoubleintdoubleintbooleanbooleanbooleanbooleanintlongtoLong()withAlphaValue(int alphaValue) withFloatingPointAlphaValue(double floatingPointAlphaValue) Methods inherited from interface IElement
getAttributes, getSpecification, toFormatedString, toXml
-
Method Details
-
getAlphaPercentage
double getAlphaPercentage()- Returns:
- the alpha value of the current
IColoras percentage. A percentage is a number in the range [0.0, 1.0].
-
getAlphaValue
int getAlphaValue()- Returns:
- the alpha value of the current
IColor.
-
getBluePercentage
double getBluePercentage()- Returns:
- the blue value of the current
IColoras percentage. A percentage is a number in the range [0.0, 1.0].
-
getBlueValue
int getBlueValue()- Returns:
- the blue value of the current
IColor.
-
getColorNameOrHexadecimalString
-
getGreenPercentage
double getGreenPercentage()- Returns:
- the green value of the current
IColoras percentage. A percentage is a number in the range [0.0, 1.0].
-
getGreenValue
int getGreenValue()- Returns:
- the green value of the current
IColor.
-
getInvertedColor
-
getRedPercentage
double getRedPercentage()- Returns:
- the red value of the current
IColoras percentage. A percentage is a number in the range [0.0, 1.0].
-
getRedValue
int getRedValue()- Returns:
- the red value of the current
IColor.
-
hasFullAlphaValue
boolean hasFullAlphaValue()- Returns:
- true if the current
IColorhas a full alpha value, false otherwise.
-
hasFullBlueValue
boolean hasFullBlueValue()- Returns:
- true if the current
IColorhas a full blue value, false otherwise.
-
hasFullGreenValue
boolean hasFullGreenValue()- Returns:
- true if the current
IColorhas a full green value, false otherwise.
-
hasFullRedValue
boolean hasFullRedValue()- Returns:
- true if the current
IColorhas a full red value, false otherwise.
-
toAlphaRedGreenBlueInt
int toAlphaRedGreenBlueInt()- Returns:
- an integer representation of the current
IColorwith the schema alpha-red-green-blue.
-
toHexadecimalString
-
toHexadecimalStringWithAlphaValue
-
toLong
long toLong()- Returns:
- a long representation of the current
IColor.
-
withAlphaValue
-
withFloatingPointAlphaValue
-
withFullAlphaValue
-