|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.aspose.imaging.ColorTranslator
public final class ColorTranslator
Translates colors to and from GDI+ Color structures. This class cannot be inherited.
Method Summary | |
---|---|
static Color |
fromHtml(java.lang.String htmlColor)
Takes color from the HTML color. |
static Color |
fromOle(int oleColor)
Takes color from the OLE color. |
static Color |
fromWin32(int win32Color)
Takes color from the HTML color. |
static java.lang.String |
toHtml(Color c)
Creates HTML color from the color. |
static int |
toOle(Color c)
Translates OLE color to color. |
static int |
toWin32(Color c)
Translates the color to win32 color. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static Color fromHtml(java.lang.String htmlColor)
Takes color from the HTML color.
htmlColor
- HTML color.
public static Color fromOle(int oleColor)
Takes color from the OLE color.
oleColor
- OLE color.
public static Color fromWin32(int win32Color)
Takes color from the HTML color.
win32Color
- Win32 color.
public static java.lang.String toHtml(Color c)
Creates HTML color from the color.
c
- The color class.
public static int toOle(Color c)
Translates OLE color to color.
c
- The color.
public static int toWin32(Color c)
Translates the color to win32 color.
c
- The color.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |