public class StickerTool extends AbstractTool
| Modifier and Type | Class and Description |
|---|---|
static class |
StickerTool.Options |
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterfacepanelClassNO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Constructor and Description |
|---|
StickerTool(int name,
int drawableId) |
StickerTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
| Modifier and Type | Method and Description |
|---|---|
void |
addSticker(ImageStickerConfig config) |
void |
addSticker(TextStickerConfig config) |
android.view.View |
attachPanel(android.view.ViewGroup parentView,
EditorPreview preview) |
void |
bringStickerToFront() |
void |
deleteSticker() |
void |
detachPanel(boolean revertChanges) |
void |
flipSticker(boolean vertical) |
void |
getCurrentTextConfig(TextStickerConfig config) |
AbstractOperation |
getOperation() |
boolean |
isRevertible() |
void |
refreshConfig(TextStickerConfig config) |
protected void |
revertState() |
protected void |
saveState() |
convertFromRange, convertToRange, getEditorPreview, getLayout, getOperator, getVerticalLayout, isAttached, isSelectable, refreshPanel, revertChangescreateViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getTitle, hasStaticThumbnail, isClickableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTitlecreateViewHolder, generateBindData, generateBindDataAsync, getNamepublic StickerTool(int name,
int drawableId)
public StickerTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass)
public AbstractOperation getOperation()
getOperation in interface AbstractConfig.ToolConfigInterfacegetOperation in class AbstractToolpublic boolean isRevertible()
isRevertible in interface AbstractConfig.ToolConfigInterfaceisRevertible in class AbstractToolprotected void saveState()
saveState in class AbstractToolprotected void revertState()
revertState in class AbstractToolpublic android.view.View attachPanel(android.view.ViewGroup parentView,
EditorPreview preview)
attachPanel in class AbstractToolpublic void detachPanel(boolean revertChanges)
detachPanel in interface AbstractConfig.ToolConfigInterfacedetachPanel in class AbstractToolpublic void addSticker(ImageStickerConfig config)
public void addSticker(TextStickerConfig config)
public void getCurrentTextConfig(TextStickerConfig config)
public void refreshConfig(TextStickerConfig config)
public void flipSticker(boolean vertical)
public void deleteSticker()
public void bringStickerToFront()