public class OverlayEditorTool extends AbstractEditorTool
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static <any> |
CREATOR |
panelClass
isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
OverlayEditorTool(int name,
int drawableId) |
|
OverlayEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
OverlayEditorTool(Parcel in) |
Modifier and Type | Method and Description |
---|---|
View |
attachPanel(ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
BlendModeConfig |
getBlendModeConfig() |
float |
getIntensity() |
OverlayConfigInterface |
getOverlayConfig() |
boolean |
isRevertible() |
protected void |
revertState() |
protected void |
saveState() |
void |
setBlendMode(BlendMode blendMode) |
void |
setIntensity(float intensity) |
void |
setOverlayConfig(OverlayConfigInterface overlayConfig) |
void |
writeToParcel(Parcel dest,
int flags) |
detachPanel, equals, getConfig, getLayout, getPanelView, getStateHandler, getVerticalLayout, isAttached, isReady, isSelectable, refreshPanel, revertChanges
createViewHolder, generateBindData, generateBindDataAsync, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, getTitle, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTitle
createViewHolder, generateBindData, generateBindDataAsync, getName, isDirty, setDirtyFlag
public OverlayEditorTool(@StringRes int name, @DrawableRes int drawableId)
public OverlayEditorTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected OverlayEditorTool(Parcel in)
public View attachPanel(@NonNull ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public int describeContents()
describeContents
in class AbstractEditorTool
public BlendModeConfig getBlendModeConfig()
public float getIntensity()
public OverlayConfigInterface getOverlayConfig()
public boolean isRevertible()
isRevertible
in interface ToolConfigInterface
isRevertible
in class AbstractEditorTool
protected void revertState()
revertState
in class AbstractEditorTool
protected void saveState()
saveState
in class AbstractEditorTool
public void setBlendMode(@NonNull BlendMode blendMode)
public void setIntensity(float intensity)
public void setOverlayConfig(@NonNull OverlayConfigInterface overlayConfig)
public void writeToParcel(Parcel dest, int flags)
writeToParcel
in class AbstractEditorTool