public static class ColorExpression.ColorWithAlphaExpression extends ColorExpression
ColorExpression.ColorWithAlphaExpressionblue, green, red, value| Constructor and Description |
|---|
ColorExpression.ColorWithAlphaExpression(HiddenTokenAwareTree token,
double red,
double green,
double blue,
double alpha) |
ColorExpression.ColorWithAlphaExpression(HiddenTokenAwareTree token,
String originalValue,
double red,
double green,
double blue,
double alpha) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
encode(double red,
double green,
double blue,
double alpha) |
double |
getAlpha() |
String |
getValueInHexadecimal() |
String |
toARGB() |
Color |
toColor() |
clone, getBlue, getChilds, getGreen, getRed, getType, getValue, setValue, toHex, toStringsplitByCommaaddOpeningComments, addTrailingComments, configureParentToAllChilds, getOpeningComments, getOrphanComments, getParent, getSource, getSourceColumn, getSourceLine, getTrailingComments, getUnderlyingStructure, hasParent, isFaulty, isSilent, setOpeningComments, setOrphanComments, setParent, setSilent, setTrailingComments, setUnderlyingStructurepublic ColorExpression.ColorWithAlphaExpression(HiddenTokenAwareTree token, double red, double green, double blue, double alpha)
public ColorExpression.ColorWithAlphaExpression(HiddenTokenAwareTree token, String originalValue, double red, double green, double blue, double alpha)
public double getAlpha()
getAlpha in class ColorExpressionprotected String encode(double red, double green, double blue, double alpha)
public String getValueInHexadecimal()
getValueInHexadecimal in class ColorExpressionpublic String toARGB()
toARGB in class ColorExpressionpublic Color toColor()
toColor in class ColorExpressionCopyright © 2012-2014. All Rights Reserved.