public class CropOperation extends AbstractOperation<CropSettings>
MEMORY_MATH_CONTEXT| Constructor and Description |
|---|
CropOperation() |
| Modifier and Type | Method and Description |
|---|---|
protected ChunkModelInterface.RequestResult |
doOperation(Operator operator,
CropSettings settings,
ChunkModelInterface.ResultRegion request)
Start the Operation
|
protected java.math.BigDecimal |
getEstimatedMemoryConsumptionFactor(Operator operator,
CropSettings cropSettings) |
protected java.lang.String |
getIdentifier() |
protected Priority |
getPriority() |
android.graphics.Rect |
getResultRect(Operator operator,
float subSample) |
boolean |
isReady(CropSettings settings) |
compareTo, equals, getEstimatedMemoryConsumptionFactor, getNecessaryMemory, getPreviousResultRect, getPreviousResultRect, getState, hashCode, isCachable, operatorReady, requestSourceAnswer, runAndDelegate, setLevelProgress, toString@NonNull protected Priority getPriority()
getPriority in class AbstractOperation<CropSettings>protected java.lang.String getIdentifier()
getIdentifier in class AbstractOperation<CropSettings>@Nullable protected ChunkModelInterface.RequestResult doOperation(Operator operator, CropSettings settings, ChunkModelInterface.ResultRegion request)
AbstractOperationdoOperation in class AbstractOperation<CropSettings>request - a ResultRegion object hold the request options like position and transformation.public boolean isReady(CropSettings settings)
isReady in class AbstractOperation<CropSettings>protected java.math.BigDecimal getEstimatedMemoryConsumptionFactor(Operator operator, CropSettings cropSettings)
getEstimatedMemoryConsumptionFactor in class AbstractOperation<CropSettings>public android.graphics.Rect getResultRect(Operator operator, float subSample)
getResultRect in class AbstractOperation<CropSettings>