|
jPodRenderer PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.intarsys.pdf.platform.cwt.color.awt.AwtColorTools
public class AwtColorTools
Constructor Summary | |
---|---|
AwtColorTools()
|
Method Summary | |
---|---|
static Color |
getBorderColor(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
The border color of the annotation. |
static float[] |
getBorderColorRGB(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
The border color RGB values for the annotation. |
static Color |
getFillColor(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
The fill color for the annotation. |
static float[] |
getFillColorRGB(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
The fill color RGB values for the annotation. |
static Color |
toColor(float[] color)
Transform the color values to an AWT color in RGB space. |
static Color |
toColor(int[] color)
Transform the color values to an AWT color in RGB space. |
static float[] |
toFloatArray(Color color)
|
static int[] |
toIntArray(Color color)
|
static float[] |
toRGB(float[] color)
Transform the color values to RGB values. |
static int[] |
toRGB(int[] color)
Transform the color values to RGB values. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AwtColorTools()
Method Detail |
---|
public static Color getBorderColor(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
annotation
-
public static float[] getBorderColorRGB(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
annotation
-
public static Color getFillColor(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
annotation
-
public static float[] getFillColorRGB(de.intarsys.pdf.pd.PDWidgetAnnotation annotation)
annotation
-
public static Color toColor(float[] color)
color
-
public static Color toColor(int[] color)
color
-
public static float[] toFloatArray(Color color)
public static int[] toIntArray(Color color)
public static float[] toRGB(float[] color)
color
-
public static int[] toRGB(int[] color)
color
-
|
jPodRenderer PDF library | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |