public class TuEditStickerOption extends TuImageResultOption
构造器和说明 |
---|
TuEditStickerOption()
图片编辑贴纸控制器配置选项
|
限定符和类型 | 方法和说明 |
---|---|
TuEditStickerFragment |
fragment()
创建图片编辑贴纸选择控制器对象
|
java.util.List<StickerCategory> |
getCategories()
贴纸分类列表(默认: StickerLocalPackage.shared().getCategories())
|
protected java.lang.Class<?> |
getDefaultComponentClazz()
图片编辑贴纸控制器类
|
protected int |
getDefaultRootViewLayoutId()
获取默认根视图布局资源ID
|
int |
getGridHeight()
单元格高度
|
int |
getGridLayoutId()
单元格布局资源ID
|
int |
getGridPadding()
单元格间距
|
int |
getGridWidth()
单元格宽度
|
StickerView.StickerViewDelegate |
getStickerViewDelegate()
贴纸视图委托
|
void |
setCategories(java.util.List<StickerCategory> mCategories)
贴纸分类列表(默认: StickerLocalPackage.shared().getCategories())
|
void |
setGridHeight(int mGridHeight)
单元格高度
|
void |
setGridLayoutId(int mGridLayoutId)
单元格布局资源ID
|
void |
setGridPadding(int mGridPadding)
单元格间距
|
void |
setGridPaddingDP(int mGridPaddingDP)
单元格间距 (单位:DP)
|
void |
setGridWidth(int mGridWidth)
单元格宽度
|
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.geev2.impl.components.sticker.TuEditStickerFragment}
public int getGridWidth()
public void setGridWidth(int mGridWidth)
public int getGridHeight()
public void setGridHeight(int mGridHeight)
public int getGridPadding()
public void setGridPadding(int mGridPadding)
public void setGridPaddingDP(int mGridPaddingDP)
public int getGridLayoutId()
{@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListGrid}
public void setGridLayoutId(int mGridLayoutId)
resId
- 单元格布局资源ID (默认: tusdk_impl_component_widget_sticker_list_grid){@link org.lasque.tusdk.geev2.impl.components.widget.sticker.StickerListGrid}
public java.util.List<StickerCategory> getCategories()
public void setCategories(java.util.List<StickerCategory> mCategories)
public StickerView.StickerViewDelegate getStickerViewDelegate()
public void setStickerViewDelegate(StickerView.StickerViewDelegate mStickerViewDelegate)
public TuEditStickerFragment fragment()