/** * Not a public constructor, for internal use */ ImageComponent() { // set default read capabilities setDefaultReadCapabilities(readCapabilities); }
/** * Constructs an image component object using the specified format, width, * and height. Default values are used for all other parameters. The * default values are as follows: * <ul> * byReference : false<br> * yUp : false<br> * </ul> * * @param format the image component format, one of: FORMAT_RGB, * FORMAT_RGBA etc. * @param width the number of columns of pixels in this image component * object * @param height the number of rows of pixels in this image component * object * @exception IllegalArgumentException if format is invalid, or if * width or height are not positive. */ public ImageComponent(int format, int width, int height) { // set default read capabilities setDefaultReadCapabilities(readCapabilities); ((ImageComponentRetained)this.retained).processParams(format, width, height, 1); }
boolean yUp) { setDefaultReadCapabilities(readCapabilities);