BufferedImage.BufferedImage() | Java

 

Descripción

Sintaxis

public BufferedImage(int width, int height, int imageType)
public BufferedImage(int width, int height, int imageType, IndexColorModel cm)
public BufferedImage(ColorModel cm, WritableRaster raster, boolean isRasterPremultiplied, Hashtable<?,?> properties)

Parámetros

  • ?> properties,
  • ColorModel cm,
  • Hashtable<?,
  • int height,
  • int width,
  • WritableRaster raster,
  • boolean isRasterPremultiplied,
  • IndexColorModel cm,
  • int imageType,

Excepciones

IllegalArgumentException, RasterFormatException

Clase Padre

BufferedImage

Ejemplo


Líneas de Código

    Manual Java

    Aprende más sobre Java consultando online o descargando nuestro manual.

    Test Java

    ¿Te atreves a probar tus habilidades y conocimiento en Java con nuestro test?

    Vídeos Java

    Disfruta también de nuestros artículos sobre Java en formato vídeo. Aprovecha y suscribete a nuestro canal.