public class ColorAdjustmentTool extends AbstractEditorTool
AbstractConfig.BindData
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ColorAdjustmentTool> |
CREATOR |
historySettings, panelClass, toolHistoryLevel
id, isDirty, ORIGINAL_THUMBNAIL_SIZE
Modifier | Constructor and Description |
---|---|
|
ColorAdjustmentTool(int name,
int drawableId) |
|
ColorAdjustmentTool(int name,
int drawableId,
java.lang.Class<? extends AbstractToolPanel> panelClass) |
protected |
ColorAdjustmentTool(android.os.Parcel in) |
Modifier and Type | Method and Description |
---|---|
android.view.View |
attachPanel(android.view.ViewGroup parentView,
StateHandler stateHandler) |
int |
describeContents() |
void |
detachPanel(boolean revertChanges) |
ly.img.android.Feature |
feature() |
float |
getBrightness() |
float |
getClarity() |
float |
getContrast() |
float |
getExposure() |
float |
getGamma() |
float |
getHighlight() |
protected int |
getHistoryLevel() |
protected java.lang.Class<? extends Settings>[] |
getHistorySettings() |
float |
getSaturation() |
float |
getShadow() |
void |
setBrightness(float brightness) |
void |
setClarity(float clarity) |
void |
setContrast(float contrast) |
void |
setExposure(float exposure) |
void |
setGamma(float gamma) |
void |
setHighlight(float highlight) |
void |
setSaturation(float saturation) |
void |
setShadow(float shadow) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
equals, getConfig, getHistoryState, getLayout, getPanelView, getStateHandler, getVerticalLayout, isAcceptable, isAttached, isCancelable, 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<ColorAdjustmentTool> CREATOR
public ColorAdjustmentTool(@StringRes int name, @DrawableRes int drawableId)
public ColorAdjustmentTool(@StringRes int name, @DrawableRes int drawableId, @NonNull java.lang.Class<? extends AbstractToolPanel> panelClass)
protected ColorAdjustmentTool(android.os.Parcel in)
public android.view.View attachPanel(@NonNull android.view.ViewGroup parentView, @NonNull StateHandler stateHandler)
attachPanel
in class AbstractEditorTool
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 float getBrightness()
public float getClarity()
public float getContrast()
public float getExposure()
public float getGamma()
public float getHighlight()
protected int getHistoryLevel()
getHistoryLevel
in class AbstractEditorTool
@NonNull protected java.lang.Class<? extends Settings>[] getHistorySettings()
getHistorySettings
in class AbstractEditorTool
public float getSaturation()
public float getShadow()
public void setBrightness(float brightness)
public void setClarity(float clarity)
public void setContrast(float contrast)
public void setExposure(float exposure)
public void setGamma(float gamma)
public void setHighlight(float highlight)
public void setSaturation(float saturation)
public void setShadow(float shadow)
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class AbstractEditorTool