| Modifier and Type | Class and Description |
|---|---|
class |
Image
Bitmapped image data.
|
static class |
Image.Region
|
class |
ImageImpl
An implementation detail.
|
| Modifier and Type | Method and Description |
|---|---|
Canvas |
Canvas.draw(Canvas.Drawable image,
float x,
float y)
Draws
image at the specified location (x, y). |
Canvas |
Canvas.draw(Canvas.Drawable image,
float x,
float y,
float w,
float h)
Draws a scaled image at the specified location
(x, y) size (w x h). |
Canvas |
Canvas.draw(Canvas.Drawable image,
float dx,
float dy,
float dw,
float dh,
float sx,
float sy,
float sw,
float sh)
Draws a subregion of a image
(sw x sh) @ (sx, sy) at the specified size
(dw x dh) and location (dx, dy). |
Canvas |
Canvas.drawCentered(Canvas.Drawable image,
float x,
float y)
Draws
image centered at the specified location. |
Copyright © 2018. All Rights Reserved.