Methods' Summary |
getData |
Query the raw data of this bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
whole bitmap can be queried. When querying subsets of the
bitmap, the same scanline padding takes place as when the
whole bitmap is requested. Note: as we currently have no 16
bit float UNO data type, the values are transported as 16 bit
integers across the API (which requires casting on both sides).
|
setData |
Set raw data of a bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
bitmap can be changed. When setting subsets of the bitmap, the
same scanline padding takes place as when the whole bitmap is
changed.
|
setPixel |
Set a single pixel of the bitmap with the given color
value.
|
getPixel |
Get a single pixel of the bitmap, returning its color
value.
|
getMemoryLayout |
Query the memory layout for this bitmap
|
Methods' Details |
getData
- Description
- Query the raw data of this bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
whole bitmap can be queried. When querying subsets of the
bitmap, the same scanline padding takes place as when the
whole bitmap is requested. Note: as we currently have no 16
bit float UNO data type, the values are transported as 16 bit
integers across the API (which requires casting on both sides).
|
|
setData
void
setData( |
[in] sequence< short >
[in] Rectangle2D |
data,
rect ); |
- Description
- Set raw data of a bitmap, in the format as defined by
getMemoryLayout(). With the given rectangle, a subset of the
bitmap can be changed. When setting subsets of the bitmap, the
same scanline padding takes place as when the whole bitmap is
changed.
|
|
setPixel
void
setPixel( |
[in] sequence< short >
[in] Point2D |
color,
pos ); |
- Description
- Set a single pixel of the bitmap with the given color
value.
|
|
getPixel
sequence< short >
getPixel( |
[in] Point2D |
pos ); |
- Description
- Get a single pixel of the bitmap, returning its color
value.
|
|
getMemoryLayout
- Description
- Query the memory layout for this bitmap
|
|
Copyright © 2003 Sun Microsystems, Inc.