protected static class TextOptionToolPanel.TextStickerColorOption extends TextOptionToolPanel.TextStickerOption
AbstractConfig.AspectConfigInterface, AbstractConfig.BindData, AbstractConfig.ColorConfigInterface, AbstractConfig.ConfigViewHolder, AbstractConfig.FontConfigInterface<T>, AbstractConfig.ImageFilterInterface, AbstractConfig.StickerConfigInterface, AbstractConfig.ToolConfigInterfaceoptionNO_THUMBNAIL_ID, ORIGINAL_THUMBNAIL_SIZE| Constructor and Description |
|---|
TextStickerColorOption(ly.img.android.ui.panels.TextOptionToolPanel.OPTION option,
int color) |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Bitmap |
getThumbnailBitmap()
Return Thumbnail in full size.
|
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 |
setColor(int color) |
getLayout, getNameRes, getThumbnailResId, isSelectablecreateViewHolder, generateBindData, generateBindDataAsync, getName, getTitle, getVerticalLayout, isClickableclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateViewHolder, generateBindData, generateBindDataAsync, getName, getVerticalLayoutpublic TextStickerColorOption(@NonNull
ly.img.android.ui.panels.TextOptionToolPanel.OPTION option,
int color)
public boolean hasStaticThumbnail()
AbstractConfighasStaticThumbnail in class TextOptionToolPanel.TextStickerOptionAbstractConfig.getThumbnailBitmap()public void setColor(int color)
public android.graphics.Bitmap getThumbnailBitmap()
AbstractConfiggetThumbnailBitmap in class AbstractConfigAbstractConfig.getThumbnailBitmap(int maxWidth)public android.graphics.Bitmap getThumbnailBitmap(int maxWidth)
AbstractConfiggetThumbnailBitmap in class TextOptionToolPanel.TextStickerOptionmaxWidth - Size the drawable should be limited to.