public class TuDraftImageWrap
extends java.lang.Object
限定符和类型 | 字段和说明 |
---|---|
protected float |
mScreenSizeScale
按屏幕比例缩小
|
构造器和说明 |
---|
TuDraftImageWrap() |
限定符和类型 | 方法和说明 |
---|---|
void |
addBrushie(java.io.File file) |
protected void |
clearAllSteps()
清空所有记录
|
protected void |
clearSteps(java.util.List<java.io.File> list)
清除步骤记录
|
java.util.List<java.io.File> |
getBrushies() |
int |
getBrushiesSize() |
java.util.List<java.io.File> |
getHistories() |
int |
getHistoriesSize() |
android.graphics.Bitmap |
getImage()
输入的图片对象 (处理优先级: Image > TempFilePath > ImageSqlInfo)
|
android.graphics.Bitmap |
getImage(int limitSize) |
org.lasque.tusdk.core.struct.TuSdkSize |
getImageDisplaySize()
获取显示大小
|
ImageSqlInfo |
getImageSqlInfo() |
java.io.File |
getLastSteps()
获取最后一个步骤
|
protected ImageSqlInfo |
getOutputImageSqlInfo()
获取最终输出的ImageSqlInfo
|
java.io.File |
getTempFilePath() |
android.graphics.Bitmap |
getThumbImage(int w,
int h)
根据指定的宽高裁剪图片(缩略图)
|
boolean |
isChanged()
图片是否被编辑
|
boolean |
isFromCarmera()
是否来自相机
|
protected java.io.File |
popLastSteps()
弹出最后一个步骤
|
void |
setBrushies(java.util.List<java.io.File> brushies) |
void |
setHistories(java.util.List<java.io.File> histories) |
void |
setImage(android.graphics.Bitmap image) |
void |
setImageSqlInfo(ImageSqlInfo imageSqlInfo) |
void |
setTempFilePath(java.io.File tempFilePath) |
public java.io.File getTempFilePath()
public void setTempFilePath(java.io.File tempFilePath)
public ImageSqlInfo getImageSqlInfo()
public void setImageSqlInfo(ImageSqlInfo imageSqlInfo)
public java.util.List<java.io.File> getHistories()
public void setHistories(java.util.List<java.io.File> histories)
public java.util.List<java.io.File> getBrushies()
public void addBrushie(java.io.File file)
public void setBrushies(java.util.List<java.io.File> brushies)
public int getHistoriesSize()
public int getBrushiesSize()
public android.graphics.Bitmap getImage()
public android.graphics.Bitmap getImage(int limitSize)
public android.graphics.Bitmap getThumbImage(int w, int h)
w
- h
- public void setImage(android.graphics.Bitmap image)
public java.io.File getLastSteps()
protected java.io.File popLastSteps()
protected ImageSqlInfo getOutputImageSqlInfo()
public org.lasque.tusdk.core.struct.TuSdkSize getImageDisplaySize()
public boolean isChanged()
public boolean isFromCarmera()
protected void clearAllSteps()
protected void clearSteps(java.util.List<java.io.File> list)