Package org.apache.batik.ext.awt
Class ColorSpaceHintKey
java.lang.Object
java.awt.RenderingHints.Key
org.apache.batik.ext.awt.ColorSpaceHintKey
TranscodingHint as to what the destination of the drawing is.
- Version:
- $Id: ColorSpaceHintKey.java 1733416 2016-03-03 07:07:13Z gadams $
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
static Object
Notice to source that we only want Greyscale data with an alpha channel.static Object
Notice to source that we only want an alpha channel.static Object
Notice to source that we only want an alpha channel.static Object
Notice to source that we prefer an Alpha RGB Image.static Object
Notice to source that we only want Greyscale data (no Alpha).static Object
Notice to source that we will not use Alpha Channel but we still want RGB data. -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
-
Field Details
-
VALUE_COLORSPACE_ARGB
Notice to source that we prefer an Alpha RGB Image. -
VALUE_COLORSPACE_RGB
Notice to source that we will not use Alpha Channel but we still want RGB data. -
VALUE_COLORSPACE_GREY
Notice to source that we only want Greyscale data (no Alpha). -
VALUE_COLORSPACE_AGREY
Notice to source that we only want Greyscale data with an alpha channel. -
VALUE_COLORSPACE_ALPHA
Notice to source that we only want an alpha channel. The source should simply render alpha (no conversion) -
VALUE_COLORSPACE_ALPHA_CONVERT
Notice to source that we only want an alpha channel. The source should follow the SVG spec for how to convert ARGB, RGB, Grey and AGrey to just an Alpha channel. -
PROPERTY_COLORSPACE
- See Also:
-
-
Constructor Details
-
ColorSpaceHintKey
ColorSpaceHintKey(int number) Note that this is package private.
-
-
Method Details
-
isCompatibleValue
- Specified by:
isCompatibleValue
in classRenderingHints.Key
-