Top Description Inners Constructors Methods
javafx.scene.image

public abstract Class WritablePixelFormat<T extends Buffer>

extends PixelFormat<T extends Buffer>
Class Inheritance
Known Direct Subclasses
javafx.scene.image.WritablePixelFormat.IntArgb, javafx.scene.image.WritablePixelFormat.IntArgbPre, javafx.scene.image.WritablePixelFormat.ByteBgra, javafx.scene.image.WritablePixelFormat.ByteBgraPre
Type Parameters
<T>
the type of the buffer
Imports
java.nio.Buffer, .ByteBuffer, .IntBuffer

A PixelFormat object representing a pixel format that can store full colors and so can be used as a destination format to write pixel data from an arbitrary image.
Since
JavaFX 2.2

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class
pack-priv static class
pack-priv static class

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public boolean
isWritable()

Implements abstract javafx.scene.image.PixelFormat.isWritable.

Returns true iff this PixelFormat object can convert color information into a pixel representation.

public abstract void
setArgb(T
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
,
int
a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format
argb
)

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates.

Inherited from javafx.scene.image.PixelFormat:
createByteIndexedInstancecreateByteIndexedPremultipliedInstancegetArgbgetByteBgraInstancegetByteBgraPreInstancegetByteRgbInstancegetIntArgbInstancegetIntArgbPreInstancegetTypeisPremultipliedNonPretoPrePretoNonPre

Constructor Detail

WritablePixelFormatback to summary
pack-priv WritablePixelFormat(PixelFormat.Type type)

Method Detail

isWritableback to summary
public boolean isWritable()

Implements abstract javafx.scene.image.PixelFormat.isWritable.

Doc from javafx.scene.image.PixelFormat.isWritable.

Returns true iff this PixelFormat object can convert color information into a pixel representation.

Returns:boolean

true iff this PixelFormat can convert colors to pixel data

Annotations
@Override
setArgbback to summary
public abstract void setArgb(T buf, int x, int y, int scanlineStride, int argb)

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

Color components can be composed into an integer using the following sample code:

    int argb = ((alpha << 24) |
                (red   << 16) |
                (green <<  8) |
                (blue       );
Parameters
buf:T

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

argb:int

a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format

javafx.scene.image back to summary

pack-priv Class WritablePixelFormat.ByteBgra

extends WritablePixelFormat<ByteBuffer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final WritablePixelFormat.ByteBgra

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public int
getArgb(ByteBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format.

public boolean
isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

public void
setArgb(ByteBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
,
int
a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format
argb
)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates.

Inherited from javafx.scene.image.WritablePixelFormat:
isWritable

Field Detail

INSTANCEback to summary
pack-priv static final WritablePixelFormat.ByteBgra INSTANCE

Constructor Detail

ByteBgraback to summary
private ByteBgra()

Method Detail

getArgbback to summary
public int getArgb(ByteBuffer buf, int x, int y, int scanlineStride)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Doc from javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

The color components can be extracted from the returned integer using the following sample code:

    int alpha = ((retval >> 24) & 0xff);
    int red   = ((retval >> 16) & 0xff);
    int green = ((retval >>  8) & 0xff);
    int blue  = ((retval      ) & 0xff);
Parameters
buf:ByteBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

Returns:int

a 32-bit value with the color of the pixel in a format similar to the INT_ARGB pixel format

Annotations
@Override
isPremultipliedback to summary
public boolean isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Doc from javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

Returns:boolean

true iff the managed color components are premultiplied by alpha

Annotations
@Override
setArgbback to summary
public void setArgb(ByteBuffer buf, int x, int y, int scanlineStride, int argb)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Doc from javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

Color components can be composed into an integer using the following sample code:

    int argb = ((alpha << 24) |
                (red   << 16) |
                (green <<  8) |
                (blue       );
Parameters
buf:ByteBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

argb:int

a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format

Annotations
@Override
javafx.scene.image back to summary

pack-priv Class WritablePixelFormat.ByteBgraPre

extends WritablePixelFormat<ByteBuffer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final WritablePixelFormat.ByteBgraPre

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public int
getArgb(ByteBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format.

public boolean
isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

public void
setArgb(ByteBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
,
int
a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format
argb
)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates.

Inherited from javafx.scene.image.WritablePixelFormat:
isWritable

Field Detail

INSTANCEback to summary
pack-priv static final WritablePixelFormat.ByteBgraPre INSTANCE

Constructor Detail

ByteBgraPreback to summary
private ByteBgraPre()

Method Detail

getArgbback to summary
public int getArgb(ByteBuffer buf, int x, int y, int scanlineStride)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Doc from javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

The color components can be extracted from the returned integer using the following sample code:

    int alpha = ((retval >> 24) & 0xff);
    int red   = ((retval >> 16) & 0xff);
    int green = ((retval >>  8) & 0xff);
    int blue  = ((retval      ) & 0xff);
Parameters
buf:ByteBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

Returns:int

a 32-bit value with the color of the pixel in a format similar to the INT_ARGB pixel format

Annotations
@Override
isPremultipliedback to summary
public boolean isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Doc from javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

Returns:boolean

true iff the managed color components are premultiplied by alpha

Annotations
@Override
setArgbback to summary
public void setArgb(ByteBuffer buf, int x, int y, int scanlineStride, int argb)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Doc from javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

Color components can be composed into an integer using the following sample code:

    int argb = ((alpha << 24) |
                (red   << 16) |
                (green <<  8) |
                (blue       );
Parameters
buf:ByteBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

argb:int

a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format

Annotations
@Override
javafx.scene.image back to summary

pack-priv Class WritablePixelFormat.IntArgb

extends WritablePixelFormat<IntBuffer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final WritablePixelFormat.IntArgb

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public int
getArgb(IntBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format.

public boolean
isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

public void
setArgb(IntBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
,
int
a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format
argb
)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates.

Inherited from javafx.scene.image.WritablePixelFormat:
isWritable

Field Detail

INSTANCEback to summary
pack-priv static final WritablePixelFormat.IntArgb INSTANCE

Constructor Detail

IntArgbback to summary
private IntArgb()

Method Detail

getArgbback to summary
public int getArgb(IntBuffer buf, int x, int y, int scanlineStride)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Doc from javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

The color components can be extracted from the returned integer using the following sample code:

    int alpha = ((retval >> 24) & 0xff);
    int red   = ((retval >> 16) & 0xff);
    int green = ((retval >>  8) & 0xff);
    int blue  = ((retval      ) & 0xff);
Parameters
buf:IntBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

Returns:int

a 32-bit value with the color of the pixel in a format similar to the INT_ARGB pixel format

Annotations
@Override
isPremultipliedback to summary
public boolean isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Doc from javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

Returns:boolean

true iff the managed color components are premultiplied by alpha

Annotations
@Override
setArgbback to summary
public void setArgb(IntBuffer buf, int x, int y, int scanlineStride, int argb)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Doc from javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

Color components can be composed into an integer using the following sample code:

    int argb = ((alpha << 24) |
                (red   << 16) |
                (green <<  8) |
                (blue       );
Parameters
buf:IntBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

argb:int

a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format

Annotations
@Override
javafx.scene.image back to summary

pack-priv Class WritablePixelFormat.IntArgbPre

extends WritablePixelFormat<IntBuffer>
Class Inheritance

Field Summary

Modifier and TypeField and Description
pack-priv static final WritablePixelFormat.IntArgbPre

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public int
getArgb(IntBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format.

public boolean
isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

public void
setArgb(IntBuffer
the buffer of pixel data
buf
,
int
the X coordinate of the pixel to be read
x
,
int
the Y coordinate of the pixel to be read
y
,
int
the number of buffer elements between the start of adjacent pixel rows in the buffer
scanlineStride
,
int
a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format
argb
)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates.

Inherited from javafx.scene.image.WritablePixelFormat:
isWritable

Field Detail

INSTANCEback to summary
pack-priv static final WritablePixelFormat.IntArgbPre INSTANCE

Constructor Detail

IntArgbPreback to summary
private IntArgbPre()

Method Detail

getArgbback to summary
public int getArgb(IntBuffer buf, int x, int y, int scanlineStride)

Implements abstract javafx.scene.image.PixelFormat.getArgb.

Doc from javafx.scene.image.PixelFormat.getArgb.

Reads pixel data from the buffer at the specified coordinates and converts it to a 32-bit integer representation of the color in the INT_ARGB format. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

The color components can be extracted from the returned integer using the following sample code:

    int alpha = ((retval >> 24) & 0xff);
    int red   = ((retval >> 16) & 0xff);
    int green = ((retval >>  8) & 0xff);
    int blue  = ((retval      ) & 0xff);
Parameters
buf:IntBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

Returns:int

a 32-bit value with the color of the pixel in a format similar to the INT_ARGB pixel format

Annotations
@Override
isPremultipliedback to summary
public boolean isPremultiplied()

Implements abstract javafx.scene.image.PixelFormat.isPremultiplied.

Doc from javafx.scene.image.PixelFormat.isPremultiplied.

Returns true iff the color components decoded (or encoded) by this format are pre-multiplied by the alpha component for more efficient blending calculations.

Returns:boolean

true iff the managed color components are premultiplied by alpha

Annotations
@Override
setArgbback to summary
public void setArgb(IntBuffer buf, int x, int y, int scanlineStride, int argb)

Implements abstract javafx.scene.image.WritablePixelFormat.setArgb.

Doc from javafx.scene.image.WritablePixelFormat.setArgb.

Stores the appropriate pixel data that represents the specified 32-bit integer representation of a color in the buffer at the specified coordinates. The 32-bit integer will contain the 4 color components in separate 8-bit fields in ARGB order from the most significant byte to the least significant byte. The buffer should be positioned to the start of the pixel data such that buf.get(0) would return the pixel information for the pixel at coordinates (0, 0). The scanlineStride parameter defines the distance from the pixel data at the start of one row to the pixel data at the start of the immediately following row at the next higher Y coordinate. Usually, scanlineStride is the same as the width of the image multiplied by the number of data elements per pixel (1 for the case of the integer and indexed formats, or 3 or 4 in the case of the byte formats), but some images may have further padding between rows for alignment or other purposes.

Color components can be composed into an integer using the following sample code:

    int argb = ((alpha << 24) |
                (red   << 16) |
                (green <<  8) |
                (blue       );
Parameters
buf:IntBuffer

the buffer of pixel data

x:int

the X coordinate of the pixel to be read

y:int

the Y coordinate of the pixel to be read

scanlineStride:int

the number of buffer elements between the start of adjacent pixel rows in the buffer

argb:int

a 32-bit value with the color to be stored in the pixel in a format similar to the Type.INT_ARGB pixel format

Annotations
@Override