Klasse java.awt.image.Raster | 1.2 |
java.lang.Object | +--java.awt.image.Raster
Datenelemente | |
---|---|
protected SampleModel | sampleModel |
protected DataBuffer | dataBuffer |
protected int | width |
protected int | height |
protected int | minX |
protected int | minY |
protected int | sampleModelTranslateX |
protected int | sampleModelTranslateY |
protected int | numBands |
protected int | numDataElements |
protected Raster | parent |
Konstruktoren | |
---|---|
protected | Raster(SampleModel sampleModel, Point origin) |
protected | Raster(SampleModel sampleModel, DataBuffer dataBuffer, Point origin) |
protected | Raster(SampleModel sampleModel, DataBuffer dataBuffer, Rectangle aRegion, Point baseOrigin, Raster parent) |
Methoden | |
---|---|
public static WritableRaster | createBandedRaster(int dataType, int w, int h, int bands, Point location) |
public static WritableRaster | createBandedRaster(int dataType, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location) |
public static WritableRaster | createBandedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location) |
public static Raster | createChild(int parentX, int parentY, int w, int h, int childMinX, int childMinY, int[] bandList) |
public WritableRaster | createCompatibleWritableRaster() |
public WritableRaster | createCompatibleWritableRaster(int w, int h) |
public WritableRaster | createCompatibleWritableRaster(int x, int y, int w, int h) |
public WritableRaster | createCompatibleWritableRaster(Rectangle rect) |
public static WritableRaster | createInterleavedRaster(int dataType, int w, int h, int bands, Point location) |
public static WritableRaster | createInterleavedRaster(int dataType, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location) |
public static WritableRaster | createInterleavedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int[] bankIndices, int[] bandOffsets, Point location) |
public static WritableRaster | createPackedRaster(int dataType, int w, int h, int[] bandMasks, Point location) |
public static WritableRaster | createPackedRaster(int dataType, int w, int h, int bands, int bitsPerBand, Point location) |
public static WritableRaster | createPackedRaster(DataBuffer dataBuffer, int w, int h, int bitsPerPixel, Point location) |
public static WritableRaster | createPackedRaster(DataBuffer dataBuffer, int w, int h, int scanlineStride, int[] bandMasks, Point location) |
public static Raster | createTranslatedChild(int childMinX, int childMinY) |
public static WritableRaster | createWritableRaster(SampleModel sm, Point location) |
public static WritableRaster | createWritableRaster(SampleModel sm, DataBuffer db, Point location) |
public Rectangle | getBounds() |
public DataBuffer | getDataBuffer() |
public Object | getDataElements(int x, int y, Object obj) |
public Object | getDataElements(int x, int y, int w, int h, Object obj) |
public final int | getHeight() |
public final int | getMinX() |
public final int | getMinY() |
public final int | getNumBands() |
public final int | getNumDataElements() |
public Raster | getParent() |
public int[] | getPixel(int x, int y, int[] iarray) |
public float[] | getPixel(int x, int y, float[] farray) |
public double[] | getPixel(int x, int y, double[] darray) |
public int[] | getPixels(int x, int y, int w, int h, int[] iarray) |
public float[] | getPixels(int x, int y, int w, int h, float[] farray) |
public double[] | getPixels(int x, int y, int w, int h, double[] darray) |
public int | getSample(int x, int y, int b) |
public double | getSampleDouble(int x, int y, int b) |
public float | getSampleFloat(int x, int y, int b) |
public SampleModel | getSampleModel() |
public final int | getSampleModelTranslateX() |
public final int | getSampleModelTranslateY() |
public int[] | getSamples(int x, int y, int w, int h, int b, int[] iarray) |
public float[] | getSamples(int x, int y, int w, int h, int b, float[] farray) |
public double[] | getSamples(int x, int y, int w, int h, int b, double[] darray) |
public final int | getTransferType() |
public final int | getWidth() |