< prev index next >

src/java.desktop/share/classes/java/awt/image/ImageConsumer.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 1995, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 1995, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 156,166 **** * @param scansize the distance from one row of pixels to the next in * the {@code pixels} array * @see ColorModel */ void setPixels(int x, int y, int w, int h, ! ColorModel model, byte pixels[], int off, int scansize); /** * The pixels of the image are delivered using one or more calls * to the setPixels method. Each call specifies the location and * size of the rectangle of source pixels that are contained in --- 156,166 ---- * @param scansize the distance from one row of pixels to the next in * the {@code pixels} array * @see ColorModel */ void setPixels(int x, int y, int w, int h, ! ColorModel model, byte[] pixels, int off, int scansize); /** * The pixels of the image are delivered using one or more calls * to the setPixels method. Each call specifies the location and * size of the rectangle of source pixels that are contained in
*** 182,192 **** * @param scansize the distance from one row of pixels to the next in * the {@code pixels} array * @see ColorModel */ void setPixels(int x, int y, int w, int h, ! ColorModel model, int pixels[], int off, int scansize); /** * The imageComplete method is called when the ImageProducer is * finished delivering all of the pixels that the source image * contains, or when a single frame of a multi-frame animation has --- 182,192 ---- * @param scansize the distance from one row of pixels to the next in * the {@code pixels} array * @see ColorModel */ void setPixels(int x, int y, int w, int h, ! ColorModel model, int[] pixels, int off, int scansize); /** * The imageComplete method is called when the ImageProducer is * finished delivering all of the pixels that the source image * contains, or when a single frame of a multi-frame animation has
< prev index next >