public class FocusOperation extends AbstractOperation
| Modifier and Type | Class and Description |
|---|---|
protected static class |
ly.img.android.sdk.operator.AbstractEditorOperation.EditorProtectedAccessor
Helper class to access protected Editor methods.
|
AbstractOperation.Holder, AbstractOperation.MODE, AbstractOperation.OperationDoneListener, AbstractOperation.ResultHolder, AbstractOperation.SourceHolder| Constructor and Description |
|---|
FocusOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
doOperation() |
FocusTool.MODE |
getFocusMode() |
protected java.lang.String |
getIdentifier() |
float |
getIntensity()
Get blur intensity.
|
AbstractOperation.MODE |
getOperationMode()
Return the current execution mode of this operator.
|
protected Operator.Priority |
getPriority() |
LayerContainerView |
getStickerStage()
Get the Sticker stage to add, edit or remove Sticker
|
void |
init(EditorPreview editorPreview) |
android.graphics.Bitmap |
renderBlur(android.graphics.Bitmap bitmap,
boolean fast) |
protected void |
runOnUiThread(ly.img.android.sdk.operator.AbstractEditorOperation.UiRunnable runnable)
Run a part of the operation async on the next Main Thread frame.
|
void |
setFocusMode(FocusTool.MODE focusMode) |
void |
setIntensity(float intensity)
Set blur intensity.
|
compareTo, doOperation, equals, getOperationRunnable, getOperator, getResultBitmapHolder, hasBitmapHolder, hashCode, operationDone, toStringpublic float getIntensity()
public void setIntensity(float intensity)
intensity - intensity from 0.0 - 1.0.public FocusTool.MODE getFocusMode()
public void setFocusMode(FocusTool.MODE focusMode)
@NonNull protected Operator.Priority getPriority()
getPriority in class AbstractOperationprotected java.lang.String getIdentifier()
getIdentifier in class AbstractOperation@NonNull public AbstractOperation.MODE getOperationMode()
AbstractOperationgetOperationMode in class AbstractOperationAbstractOperation.MODEprotected boolean doOperation()
doOperation in class AbstractOperationpublic android.graphics.Bitmap renderBlur(@NonNull
android.graphics.Bitmap bitmap,
boolean fast)
public void init(EditorPreview editorPreview)
protected void runOnUiThread(ly.img.android.sdk.operator.AbstractEditorOperation.UiRunnable runnable)
runnable - UiRunnable implementation@NonNull public LayerContainerView getStickerStage()