public abstract class Handle
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
void |
updateCropWindow(float x,
float y,
float snapRadius)
Updates the crop window by directly setting the Edge coordinates.
|
abstract void |
updateCropWindow(float x,
float y,
float targetAspectRatio,
float snapRadius)
Updates the crop window by directly setting the Edge coordinates; this
method maintains a given aspect ratio.
|
protected final CropRect cropRect
public void updateCropWindow(float x,
float y,
float snapRadius)
x - the new x-coordinate of this handley - the new y-coordinate of this handlesnapRadius - the maximum distance (in pixels) at which the crop
window should snap to the imagepublic abstract void updateCropWindow(float x,
float y,
float targetAspectRatio,
float snapRadius)
x - the new x-coordinate of this handley - the new y-coordinate of this handletargetAspectRatio - the aspect ratio to maintainsnapRadius - the maximum distance (in pixels) at which the crop
window should snap to the image