public class TransformEditorTool extends AbstractEditorTool
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<TransformEditorTool> |
CREATOR |
historySettings, panelClass, toolHistoryLevel
id, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
TransformEditorTool(int name,
int drawableId) |
|
TransformEditorTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
TransformEditorTool(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
StateHandler stateHandler) |
void |
changeOrientationCCW() |
void |
changeOrientationCW() |
int |
describeContents() |
void |
detachPanel(boolean revertChanges) |
ly.img.android.Feature |
feature() |
void |
flipHorizontal() |
AspectConfigInterface |
getAspectConfig() |
protected MultiRect |
getCropRect() |
protected int |
getHistoryLevel() |
protected java.lang.Class<? extends Settings>[] |
getHistorySettings() |
float |
getOrientationOffsetRotation() |
int |
getOrientationRotation() |
float |
getRotation() |
boolean |
isAcceptable() |
boolean |
isCancelable() |
boolean |
isHorizontalFlipped() |
void |
setAspectConfig(AspectConfigInterface aspect) |
void |
setHorizontalFlipped(boolean horizontalFlipped) |
void |
setOrientationOffsetRotation(float rotation) |
void |
setRotation(float rotation) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getConfig, getHistoryState, getLayout, getPanelView, getStateHandler, getVerticalLayout, isAttached, isReady, isRevertible, isSelectable, redoLocalState, refreshPanel, revertChanges, revertToInitialState, saveEndState, saveInitialState, saveLocalState, setupHistory, undoLocalState
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, getThumbnailBitmap, getThumbnailBitmap, getThumbnailResId, getThumbnailSource, getTitle, hasStaticThumbnail, isClickable, isDirty, setDirtyFlag
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getTitle
createViewHolder, generateBindData, generateBindDataAsync, getId, getName, isDirty, setDirtyFlag
public static final android.os.Parcelable.Creator<TransformEditorTool> CREATOR
public TransformEditorTool(@StringRes int name, @DrawableRes int drawableId)
public TransformEditorTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected TransformEditorTool(android.os.Parcel in)
public android.view.View attachPanel(@NonNull android.view.ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
public void changeOrientationCCW()
public void changeOrientationCW()
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class AbstractEditorTool
public void detachPanel(boolean revertChanges)
detachPanel
in interface ToolConfigInterface
detachPanel
in class AbstractEditorTool
public final ly.img.android.Feature feature()
feature
in class AbstractEditorTool
public void flipHorizontal()
public AspectConfigInterface getAspectConfig()
protected MultiRect getCropRect()
protected int getHistoryLevel()
getHistoryLevel
in class AbstractEditorTool
@NonNull protected java.lang.Class<? extends Settings>[] getHistorySettings()
getHistorySettings
in class AbstractEditorTool
public float getOrientationOffsetRotation()
public int getOrientationRotation()
public float getRotation()
public boolean isAcceptable()
isAcceptable
in interface ToolConfigInterface
isAcceptable
in class AbstractEditorTool
public boolean isCancelable()
isCancelable
in interface ToolConfigInterface
isCancelable
in class AbstractEditorTool
public boolean isHorizontalFlipped()
public void setAspectConfig(AspectConfigInterface aspect)
public void setHorizontalFlipped(boolean horizontalFlipped)
public void setOrientationOffsetRotation(float rotation)
public void setRotation(float rotation)
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractEditorTool