|
kitfox-svg-core 1.0.0-build001 / 2012-04-07T15:40:49.711-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.kitfox.svg.batik.GraphicsUtil
public class GraphicsUtil
| Constructor Summary | |
|---|---|
GraphicsUtil()
Creates a new instance of GraphicsUtil |
|
| Method Summary | |
|---|---|
static ColorModel |
coerceColorModel(ColorModel cm,
boolean newAlphaPreMult)
Create a new ColorModel with it's alpha premultiplied state matching newAlphaPreMult. |
static ColorModel |
coerceData(WritableRaster wr,
ColorModel cm,
boolean newAlphaPreMult)
Coerces data within a bufferedImage to match newAlphaPreMult, Note that this can not change the colormodel of bi so you |
protected static void |
divide_BYTE_COMP_Data(WritableRaster wr)
|
protected static void |
divide_INT_PACK_Data(WritableRaster wr)
|
static boolean |
is_BYTE_COMP_Data(SampleModel sm)
|
static boolean |
is_INT_PACK_Data(SampleModel sm,
boolean requireAlpha)
|
protected static void |
mult_BYTE_COMP_Data(WritableRaster wr)
|
protected static void |
mult_INT_PACK_Data(WritableRaster wr)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GraphicsUtil()
| Method Detail |
|---|
public static ColorModel coerceColorModel(ColorModel cm,
boolean newAlphaPreMult)
cm - The ColorModel to change the alpha premult state of.newAlphaPreMult - The new state of alpha premult.
public static ColorModel coerceData(WritableRaster wr,
ColorModel cm,
boolean newAlphaPreMult)
wr - The raster to change the state of.cm - The colormodel currently associated with data in wr.newAlphaPreMult - The desired state of alpha Premult for raster.
public static boolean is_INT_PACK_Data(SampleModel sm,
boolean requireAlpha)
protected static void mult_INT_PACK_Data(WritableRaster wr)
protected static void divide_INT_PACK_Data(WritableRaster wr)
public static boolean is_BYTE_COMP_Data(SampleModel sm)
protected static void mult_BYTE_COMP_Data(WritableRaster wr)
protected static void divide_BYTE_COMP_Data(WritableRaster wr)
|
kitfox-svg-core 1.0.0-build001 / 2012-04-07T15:40:49.711-0500 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||