目录

CLASS info
public abstract class Image extends Object
广告图片。

Public Constructor Summary

Constructor name
Image()
图片构造方法。

Public Method Summary

Return typeMethod name
doublegetScale()
获取Scale。
DrawablegetDrawable()
获取Drawable。
UrigetUri()
获取Uri。
intgetHeight()
获取图片素材物理高度。
intgetWidth()
获取图片素材物理宽度。

Public Constructor

constructor
public Image()
图片构造方法。

Public Methods

Method
public abstract double getScale()
返回此图像的比例,它表示像素与dp的比率。

Return

typedesc
double图像比例。
Method
public abstract Drawable getDrawable()
返回表示图像的可绘制对象。

Return

typedesc
Drawable图像的可绘制对象。
Method
public abstract Uri getUri()
返回图像的Uri。

Return

typedesc
Uri图像的Uri。
Method
public int getHeight()
获取图片素材物理高度。

Return

typedesc
int返回图片的物理高度。
Method
public int getWidth()
获取图片素材物理宽度。

Return

typedesc
int返回图片的物理宽度。