public class TuEditEntryOption extends TuImageResultOption
构造器和说明 |
---|
TuEditEntryOption()
图片编辑入口配置选项
|
限定符和类型 | 方法和说明 |
---|---|
TuEditEntryFragment |
fragment()
创建图片编辑入口控制器对象
|
protected java.lang.Class<?> |
getDefaultComponentClazz()
图片编辑入口控制器类
|
protected int |
getDefaultRootViewLayoutId()
获取默认根视图布局资源ID
|
int |
getLimitSideSize()
最大输出图片边长 (默认:0, 不限制图片宽高)
|
StickerView.StickerViewDelegate |
getStickerViewDelegate()
贴纸视图委托
|
boolean |
isEnableCuter()
开启裁剪旋转功能
|
boolean |
isEnableFilter()
开启滤镜功能
|
boolean |
isEnableSticker()
开启贴纸功能
|
boolean |
isLimitForScreen()
最大输出图片按照设备屏幕 (默认:true, 如果设置了LimitSideSize, 将忽略LimitForScreen)
|
void |
setEnableCuter(boolean mEnableCuter)
开启裁剪旋转功能
|
void |
setEnableFilter(boolean mEnableFilter)
开启滤镜功能
|
void |
setEnableSticker(boolean mEnableSticker)
开启贴纸功能
|
void |
setLimitForScreen(boolean mLimitForScreen)
最大输出图片按照设备屏幕 (默认:true, 如果设置了LimitSideSize, 将忽略LimitForScreen)
|
void |
setLimitSideSize(int mLimitSideSize)
最大输出图片边长 (默认:0, 不限制图片宽高)
|
void |
setStickerViewDelegate(StickerView.StickerViewDelegate mStickerViewDelegate)
贴纸视图委托
|
fragmentInstance, isAutoRemoveTemp, isShowResultPreview, setAutoRemoveTemp, setShowResultPreview
getOutputCompress, getSaveToAlbumName, isSaveToAlbum, isSaveToTemp, setOutputCompress, setSaveToAlbum, setSaveToAlbumName, setSaveToTemp
getComponentClazz, getRootViewLayoutId, setComponentClazz, setRootViewLayoutId
protected java.lang.Class<?> getDefaultComponentClazz()
getDefaultComponentClazz
在类中 TuSdkComponentOption
protected int getDefaultRootViewLayoutId()
getDefaultRootViewLayoutId
在类中 TuSdkComponentOption
{@link org.lasque.tusdk.impl.components.edit.TuEditEntryFragment}
public final boolean isEnableCuter()
public final void setEnableCuter(boolean mEnableCuter)
public final boolean isEnableFilter()
public final void setEnableFilter(boolean mEnableFilter)
public final boolean isEnableSticker()
public final void setEnableSticker(boolean mEnableSticker)
public final int getLimitSideSize()
public final void setLimitSideSize(int mLimitSideSize)
public final boolean isLimitForScreen()
public final void setLimitForScreen(boolean mLimitForScreen)
public StickerView.StickerViewDelegate getStickerViewDelegate()
public void setStickerViewDelegate(StickerView.StickerViewDelegate mStickerViewDelegate)
public TuEditEntryFragment fragment()