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
An OperationDescriptor describing the "Paint" operation.

See Also:
  • Field Summary

    Fields inherited from class javax.media.jai.OperationDescriptorImpl

    sourceNames, supportedModes

    Fields inherited from interface javax.media.jai.OperationDescriptor

    NO_PARAMETER_DEFAULT
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor.
  • Method Summary

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PaintDescriptor

      public PaintDescriptor()
      Constructor.
  • Method Details

    • 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 band
      hints - The RenderingHints to use. May be null.
      Returns:
      The RenderedOp destination.
      Throws:
      IllegalArgumentException - if source0 or function is null.
      See Also:
      • JAI
      • ParameterBlockJAI
      • RenderedOp