Package com.bc.ceres.jai.operator
Class PaintDescriptor
- java.lang.Object
-
- javax.media.jai.OperationDescriptorImpl
-
- com.bc.ceres.jai.operator.PaintDescriptor
-
- All Implemented Interfaces:
Serializable
,javax.media.jai.OperationDescriptor
,javax.media.jai.RegistryElementDescriptor
public class PaintDescriptor extends javax.media.jai.OperationDescriptorImpl
AnOperationDescriptor
describing the "Paint" operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PaintDescriptor()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.media.jai.RenderedOp
create(RenderedImage source0, RenderedImage source1, Color paintColor, Boolean alphaIsFirst, RenderingHints hints)
Paints.-
Methods inherited from class javax.media.jai.OperationDescriptorImpl
arePropertiesSupported, getDefaultSourceClass, getDestClass, getDestClass, getInvalidRegion, getName, getNumParameters, getNumSources, getParamClasses, getParamDefaults, getParamDefaultValue, getParameterListDescriptor, getParamMaxValue, getParamMinValue, getParamNames, getPropertyGenerators, getPropertyGenerators, getRenderableDestClass, getRenderableSourceClasses, getResourceBundle, getResources, getSourceClasses, getSourceClasses, getSourceNames, getSupportedModes, isImmediate, isModeSupported, isRenderableSupported, isRenderedSupported, makeDefaultSourceClassList, validateArguments, validateArguments, validateParameters, validateParameters, validateRenderableArguments, validateRenderableSources, validateSources, validateSources
-
-
-
-
Method Detail
-
create
public static javax.media.jai.RenderedOp create(RenderedImage source0, RenderedImage source1, Color paintColor, Boolean alphaIsFirst, RenderingHints hints)
Paints.- Parameters:
source0
- The source image to paint on.source1
- The paint mask. Must be a one-banded image of type BYTE.paintColor
- The paint color.alphaIsFirst
- Whether alpha is the first bandhints
- TheRenderingHints
to use. May benull
.- Returns:
- The
RenderedOp
destination. - Throws:
IllegalArgumentException
- ifsource0
orfunction
isnull
.- See Also:
JAI
,ParameterBlockJAI
,RenderedOp
-
-