public class EffectPaint
extends java.lang.Object
Constructor and Description |
---|
EffectPaint() |
Modifier and Type | Method and Description |
---|---|
Bitmap |
getBitmap()
Deprecated.
|
CanvasInfo |
getCanvasInfo()
获取画布信息,不建议用户使用
|
java.lang.String |
getPath()
获取涂鸦的图片路径
|
int |
getViewId()
获取资源的id,唯一标示符
|
void |
setBitmap(Bitmap bitmap)
Deprecated.
|
void |
setCanvasInfo(CanvasInfo canvasInfo)
设置画布信息,不建议用户使用
|
void |
setPath(java.lang.String path)
设置图片路径
|
void |
setViewId(int vid)
设置资源id,不建议用户调用
|
public int getViewId()
public void setViewId(int vid)
vid
- 资源id@Deprecated public void setBitmap(Bitmap bitmap)
@Deprecated public Bitmap getBitmap()
public void setPath(java.lang.String path)
path
- 图片路径public java.lang.String getPath()
public CanvasInfo getCanvasInfo()
CanvasInfo
public void setCanvasInfo(CanvasInfo canvasInfo)
canvasInfo
- 画布信息