protected static class TextOptionToolPanel.TextStickerAlignOption extends TextOptionToolPanel.TextStickerOption
AbstractConfig.BindData
CREATOR
id, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier and Type | Method and Description |
---|---|
int |
getAlignResId(android.graphics.Paint.Align align) |
android.graphics.Bitmap |
getThumbnailBitmap(int maxWidth)
Return the Thumbnail, do not call in Main Thread and use #getThumbnailResId() if #hasStaticThumbnail
|
boolean |
hasStaticThumbnail()
Check if it has a static thumbnail drawable.
|
void |
setAlign(android.graphics.Paint.Align align) |
describeContents, getLayout, getThumbnailResId, isSelectable, writeToParcel
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, getThumbnailBitmap, getThumbnailSource, getTitle, getVerticalLayout, isClickable, isDirty, setDirtyFlag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, getVerticalLayout, isDirty, setDirtyFlag
public int getAlignResId(android.graphics.Paint.Align align)
public android.graphics.Bitmap getThumbnailBitmap(int maxWidth)
AbstractConfig
getThumbnailBitmap
in class TextOptionToolPanel.TextStickerOption
maxWidth
- Size the drawable should be limited to.public boolean hasStaticThumbnail()
AbstractConfig
hasStaticThumbnail
in class TextOptionToolPanel.TextStickerOption
AbstractConfig.getThumbnailBitmap()
public void setAlign(@NonNull android.graphics.Paint.Align align)