com.macromedia.generator.api
Class Color
java.lang.Object
|
+--com.macromedia.generator.api.GenObject
|
+--com.macromedia.generator.api.Color
- public class Color
- extends GenObject
Fields inherited from class com.macromedia.generator.api.GenObject |
peer |
Constructor Summary |
|
Color()
|
protected |
Color(int i)
|
Methods inherited from class java.lang.Object |
, clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Color
public Color()
throws GeneratorApiException
Color
protected Color(int i)
throws GeneratorApiException
finalize
protected void finalize()
throws java.lang.Throwable
- Overrides:
finalize
in class java.lang.Object
getAlpha
public int getAlpha()
throws GeneratorApiException
getBlue
public int getBlue()
throws GeneratorApiException
getBlueValue
public static int getBlueValue(int i)
getGreen
public int getGreen()
throws GeneratorApiException
getGreenValue
public static int getGreenValue(int i)
getRGBValue
public static int getRGBValue(int i,
int j,
int k)
getRGBValue
public static int getRGBValue(java.lang.String s)
throws GeneratorApiException
getRed
public int getRed()
throws GeneratorApiException
getRedValue
public static int getRedValue(int i)
getReducedColor
public static int getReducedColor(int i)
getRgb
public int getRgb()
throws GeneratorApiException
makeWebSafeColor
public static int makeWebSafeColor(int i)
release
public void release()
- Overrides:
release
in class GenObject
setAlpha
public void setAlpha(int i)
throws GeneratorApiException
setBlue
public void setBlue(int i)
throws GeneratorApiException
setGreen
public void setGreen(int i)
throws GeneratorApiException
setRGBValue
public void setRGBValue(java.lang.String s)
throws GeneratorApiException
setRed
public void setRed(int i)
throws GeneratorApiException
setRgb
public void setRgb(int i)
throws GeneratorApiException