|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.bali.ewt.graphics.ColorUtils
oracle.javatools.ui.ColorUtils2
public class ColorUtils2
Additional operations on Colors
Field Summary |
---|
Fields inherited from class oracle.bali.ewt.graphics.ColorUtils |
---|
DEFAULT_LIGHTER_CHANGE, NTSC_WEIGHT_BLUE, NTSC_WEIGHT_GREEN, NTSC_WEIGHT_RED |
Constructor Summary | |
---|---|
ColorUtils2() |
Method Summary | |
---|---|
static java.awt.Color |
alphaColor(java.awt.Color c, int alpha) get a transparent version of the given color |
static java.awt.Color |
getAnalogous(java.awt.Color c, int index) Find the analogous colors of the given color. |
static java.awt.Color |
getCompliment(java.awt.Color c) Return the complimentary color to the one given. |
static java.awt.Color |
getTetrad(java.awt.Color c, int index) Find the four tetradic colors of the given color. |
static java.awt.Color |
getTriad(java.awt.Color c, int index) Find the triad colors of the given color. |
static java.awt.Color |
saturateColor(java.awt.Color c, double percent) |
static java.awt.Color |
shadeColorPercent(java.awt.Color c, double percent) |
Methods inherited from class oracle.bali.ewt.graphics.ColorUtils |
---|
cmyToColor, colorToCMY, colorToHSB, colorToHSL, colorToHTML, colorToRGB, darkerShadeColor, getApproximateLuminance, getNTSCLuminance, getTransparentColor, hsbToColor, hslToColor, hslToRGB, htmlToColor, lighterShadeColor, rgbToColor, rgbToHSL, shadeColor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ColorUtils2()
Method Detail |
---|
public static java.awt.Color getCompliment(java.awt.Color c)
public static java.awt.Color getTriad(java.awt.Color c, int index)
public static java.awt.Color getAnalogous(java.awt.Color c, int index)
public static java.awt.Color getTetrad(java.awt.Color c, int index)
public static java.awt.Color shadeColorPercent(java.awt.Color c, double percent)
public static java.awt.Color saturateColor(java.awt.Color c, double percent)
public static java.awt.Color alphaColor(java.awt.Color c, int alpha)
c
-alpha
- 0-255
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.9.0) E52944-01 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |