目录

CLASS info
public abstract class Image extends Object
Ad image.

Public Constructor Summary

Constructor name
Image()
Image constructor.

Public Method Summary

Return typeMethod name
doublegetScale()
Obtains the scale of an image.
DrawablegetDrawable()
Obtains the drawable object of an image.
UrigetUri()
Obtains the URI  of an image.
intgetHeight()
Obtains the physical height of an image.
intgetWidth()
Obtains the physical width of an image.

Public Constructors

Constructor
public Image()
Image constructor.

Public Methods

Method
public abstract double getScale()
Obtains the scale of an image, which is a ratio of pixels to dp.

Return

typedesc
doubleImage scale.
Method
public abstract Drawable getDrawable()
Obtains the drawable object of an image.

Return

typedesc
DrawableDrawable object of an image.
Method
public abstract Uri getUri()
Obtains the URI of an image.

Return

typedesc
UriImage URI.
Method
public int getHeight()
Obtains the physical height of an image.

Return

typedesc
intPhysical height of an image.
Method
public int getWidth()
Obtains the physical width of an image.

Return

typedesc
intPhysical width of an image.