/** * 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()); } }
&& defCCM.hasAlpha() == actualCCM.hasAlpha() && colorSpaceIsOk && defCCM.getTransparency() == actualCCM.getTransparency() && defCCM .getTransferType() == actualCCM.getTransferType());
ccm.isAlphaPremultiplied(), ccm.getTransparency(), ccm.getTransferType()); } else if (colorModel instanceof DirectColorModel) {
else return new ComponentColorModel(cs, ccm.hasAlpha(), ccm .isAlphaPremultiplied(), ccm.getTransparency(), ccm .getTransferType()); } else if (old_cm instanceof DirectColorModel) {