Module :
java.desktop - Package :
java.awt.image
Version documentée : Java SE 17
Classe « IndexColorModel »
Informations générales
Héritage
java.lang.Object
java.awt.image.ColorModel
java.awt.image.IndexColorModel
Définition
public class IndexColorModel extends java.awt.image.ColorModel
Description
A venir.
Liste des attributs
Tous les attributs
Attributs d'instance
Attributs statiques
Attributs dépréciés
Liste des constructeurs
Constructeurs
Constructeurs dépréciés
IndexColorModel( int bits, int size, byte[] cmap, int start, boolean hasalpha ) |
|
IndexColorModel( int bits, int size, byte[] r, byte[] g, byte[] b ) |
|
IndexColorModel( int bits, int size, byte[] r, byte[] g, byte[] b, byte[] a ) |
|
IndexColorModel( int bits, int size, byte[] cmap, int start, boolean hasalpha, int trans ) |
|
IndexColorModel( int bits, int size, int[] cmap, int start, int transferType, BigInteger validBits ) |
|
IndexColorModel( int bits, int size, byte[] r, byte[] g, byte[] b, int trans ) |
|
IndexColorModel( int bits, int size, int[] cmap, int start, boolean hasalpha, int trans, int transferType ) |
|
Liste des propriétés (getters/setters)
Propriétés
Propriétés dépréciées
public |
int[] |
componentSize |
R/- |
public |
int |
mapSize |
R/- |
public |
int |
transparency |
R/- |
public |
int |
transparentPixel |
R/- |
public |
boolean |
valid |
R/- |
public |
BigInteger |
validPixels |
R/- |
Propriétés héritées de la classe java.awt.image.ColorModel
alphaPremultiplied, colorSpace, componentSize, numColorComponents, numComponents, pixelSize, rGBdefault, transferType, transparency
Propriétés héritées de la classe java.lang.Object
class
Liste des méthodes
Toutes les méthodes
Méthodes d'instance
Méthodes statiques
Méthodes concrètes
Méthodes abstraites
Méthodes dépréciées
public |
BufferedImage |
convertToIntDiscrete( Raster raster, boolean forceARGB ) |
|
public |
SampleModel |
createCompatibleSampleModel( int w, int h ) |
|
public |
WritableRaster |
createCompatibleWritableRaster( int w, int h ) |
|
public |
boolean |
equals( Object obj ) |
|
public |
void |
finalize() |
|
public |
int |
getAlpha( int pixel ) |
|
public |
void |
getAlphas( byte[] a ) |
|
public |
int |
getBlue( int pixel ) |
|
public |
void |
getBlues( byte[] b ) |
|
public |
int[] |
getComponents( int pixel, int[] components, int offset ) |
|
public |
int[] |
getComponents( Object pixel, int[] components, int offset ) |
|
public |
int[] |
getComponentSize() |
|
public |
int |
getDataElement( int[] components, int offset ) |
|
public |
Object |
getDataElements( int[] components, int offset, Object pixel ) |
|
public synchronized |
Object |
getDataElements( int rgb, Object pixel ) |
|
public |
int |
getGreen( int pixel ) |
|
public |
void |
getGreens( byte[] g ) |
|
public |
int |
getMapSize() |
|
public |
int |
getRed( int pixel ) |
|
public |
void |
getReds( byte[] r ) |
|
public |
int |
getRGB( int pixel ) |
|
public |
void |
getRGBs( int[] rgb ) |
|
public |
int |
getTransparency() |
|
public |
int |
getTransparentPixel() |
|
public |
BigInteger |
getValidPixels() |
|
public |
int |
hashCode() |
|
public |
boolean |
isCompatibleRaster( Raster raster ) |
|
public |
boolean |
isCompatibleSampleModel( SampleModel sm ) |
|
public |
boolean |
isValid() |
|
public |
boolean |
isValid( int pixel ) |
|
public |
String |
toString() |
|
Méthodes héritées de la classe java.awt.image.ColorModel
coerceData, createCompatibleSampleModel, createCompatibleWritableRaster, equals, finalize, getAlpha, getAlpha, getAlphaRaster, getBlue, getBlue, getColorSpace, getComponentSize, getComponentSize, getComponents, getComponents, getDataElement, getDataElement, getDataElements, getDataElements, getDataElements, getGreen, getGreen, getNormalizedComponents, getNormalizedComponents, getNumColorComponents, getNumComponents, getPixelSize, getRGB, getRGB, getRGBdefault, getRed, getRed, getTransferType, getTransparency, getUnnormalizedComponents, hasAlpha, hashCode, isAlphaPremultiplied, isCompatibleRaster, isCompatibleSampleModel, toString
Méthodes héritées de la classe java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Améliorations / Corrections
Vous avez des améliorations (ou des corrections) à proposer pour ce document : je vous remerçie par avance de m'en faire part, cela m'aide à améliorer le site.
Emplacement :
Description des améliorations :