Methods' Details |
getData
- Description
- Query the raw data of this bitmap.
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 that the bitmap memory layout might change for volatile
bitmaps.
- Parameter bitmapLayout
- The memory layout the returned data is in.
- Parameter rect
- A rectangle, within the bounds of the bitmap, to retrieve the
contens from.
- Throws
- VolatileContentDestroyedException
if the bitmap is volatile, and the content has been destroyed by the system.
- Throws
- com::sun::star::lang::IndexOutOfBoundsException
if parts of the given rectangle are outside the permissible
bitmap area.
|
|
getPixel
- Description
- Get a single pixel of the bitmap, returning its color
value.
Note that the bitmap memory layout might change for volatile
bitmaps.
- Parameter bitmapLayout
- The memory layout the returned data is in.
- Parameter pos
- A position, within the bounds of the bitmap, to retrieve the
color from.
- Throws
- VolatileContentDestroyedException
if the bitmap is volatile, and the content has been destroyed by the system.
- Throws
- com::sun::star::lang::IndexOutOfBoundsException
if the given position is outside the permissible bitmap area.
|
|
getMemoryLayout
- Description
- Query the memory layout for this bitmap.
Please note that for volatile bitmaps, the memory layout might
change between subsequent calls.
|
|
Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.