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() |
ScriptIntrinsicBlur |
getBlurScript() |
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() |
StickerHolderView |
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 void setIntensity(float intensity)
intensity - intensity from 0.0 - 1.0.public float getIntensity()
public void setFocusMode(FocusTool.MODE focusMode)
public FocusTool.MODE getFocusMode()
protected Operator.Priority getPriority()
getPriority in class AbstractOperationprotected java.lang.String getIdentifier()
getIdentifier in class AbstractOperationpublic AbstractOperation.MODE getOperationMode()
AbstractOperationgetOperationMode in class AbstractOperationAbstractOperation.MODEpublic ScriptIntrinsicBlur getBlurScript()
public android.graphics.Bitmap renderBlur(android.graphics.Bitmap bitmap,
boolean fast)
protected boolean doOperation()
doOperation in class AbstractOperationpublic void init(EditorPreview editorPreview)
protected void runOnUiThread(ly.img.android.sdk.operator.AbstractEditorOperation.UiRunnable runnable)
runnable - UiRunnable implementationpublic StickerHolderView getStickerStage()