Class Info |
|---|
public abstract class Image extends Object Ad image. |
Method |
|---|
public abstract Drawable getDrawable() Obtains the drawable object of an image. |
Returns
Type | Description |
|---|---|
Drawable | Drawable object of an image. |
Method |
|---|
public int getHeight() Obtains the physical height of an image. |
Returns
Type | Description |
|---|---|
int | Height of an image, in dp. |
Method |
|---|
public abstract double getScale() Obtains the scale of an image, which is a ratio of pixels to dp. |
Returns
Type | Description |
|---|---|
double | Image scale. |