/** * Returns the {@code String} representation of the contents of this {@code ColorModel}object. * * @return a {@code String} representing the contents of this {@code ColorModel} object. */ public String toString() { return new String( "ComponentColorModelJAI: #pixelBits = " + pixel_bits + " numComponents = " + super.getNumComponents() + " color space = " + super.getColorSpace() + " transparency = " + super.getTransparency() + " has alpha = " + super.hasAlpha() + " isAlphaPre = " + super.isAlphaPremultiplied()); } }
/** * Returns the {@code String} representation of the contents of * this {@code ColorModel}object. * * @return a {@code String} representing the contents of this * {@code ColorModel} object. */ public String toString() { return new String("ComponentColorModelJAI: #pixelBits = "+pixel_bits + " numComponents = "+ super.getNumComponents() + " color space = "+ super.getColorSpace() + " transparency = "+ super.getTransparency() + " has alpha = "+ super.hasAlpha() + " isAlphaPre = "+ super.isAlphaPremultiplied()); } }
/** * Returns the {@code String} representation of the contents of * this {@code ColorModel}object. * * @return a {@code String} representing the contents of this * {@code ColorModel} object. */ public String toString() { return new String("ComponentColorModelJAI: #pixelBits = "+pixel_bits + " numComponents = "+ super.getNumComponents() + " color space = "+ super.getColorSpace() + " transparency = "+ super.getTransparency() + " has alpha = "+ super.hasAlpha() + " isAlphaPre = "+ super.isAlphaPremultiplied()); } }
&& actualCM instanceof ComponentColorModel) { final ComponentColorModel defCCM = (ComponentColorModel) defaultCM, actualCCM = (ComponentColorModel) actualCM; final ColorSpace defCS = defCCM.getColorSpace(); final ColorSpace actualCS = actualCCM.getColorSpace(); final boolean isBogusDef = defCS instanceof BogusColorSpace; final boolean isBogusActual = actualCS instanceof BogusColorSpace;