API / geotoolkit / renderer / Pixmap / Pixmap
Represent interface for an off-screen image representation
↳
Pixmap
Constructors
Methods
▸ getClassName(): string
string
▸ getColors(x, y, color, offset?, count?): void
Return an array of colors for the current position
| Name | Type | Description |
|---|---|---|
x | number | x position to get color |
y | number | y position to get color |
color | number[] | output array of color components |
Optional offset | number | offset inside of array of colors |
Optional count | number | count colors |
void
▸ getData(): TypedArray
Return a one-dimensional array containing the data in the RGBA order, with integer values between 0 and 255 (included).
the actual width, a one-dimensional array containing the data in the RGBA order, with integer values between 0 and 255 (included).
▸ getHeight(): number
Return the actual height, in pixels, of the raster
number
the actual height, in pixels, of the raster
▸ getWidth(): number
Return the actual width, in pixels, of the raster
number
the actual width, in pixels, of the raster
▸ Static getClassName(): string
string