Class 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:
    Serialized Form
    • 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
      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
    • Constructor Detail

      • PaintDescriptor

        public PaintDescriptor()
        Constructor.
    • 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 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