public class CroppingTrapezoid
extends java.lang.Object
| Constructor and Description |
|---|
CroppingTrapezoid(android.graphics.RectF cropRect,
android.graphics.Rect imageRect) |
| Modifier and Type | Method and Description |
|---|---|
android.graphics.Point |
getBottomLeft() |
android.graphics.Point |
getBottomRight() |
android.graphics.Rect |
getBoundingRect() |
android.graphics.Rect |
getBoundingRect(android.graphics.Matrix matrix) |
int |
getHit(float x,
float y,
float hysteresis) |
android.graphics.Rect |
getPerspectiveCorrectedBoundingRect() |
float[] |
getPoints() |
float[] |
getScreenPoints(android.graphics.Matrix matrix) |
android.graphics.Point |
getTopLeft() |
android.graphics.Point |
getTopRight() |
void |
growBy(int edge,
float dx,
float dy) |
void |
moveBy(float dx,
float dy) |
public CroppingTrapezoid(android.graphics.RectF cropRect,
android.graphics.Rect imageRect)
public android.graphics.Rect getBoundingRect()
public android.graphics.Rect getPerspectiveCorrectedBoundingRect()
public android.graphics.Rect getBoundingRect(android.graphics.Matrix matrix)
public float[] getScreenPoints(android.graphics.Matrix matrix)
public float[] getPoints()
public android.graphics.Point getTopLeft()
public android.graphics.Point getTopRight()
public android.graphics.Point getBottomRight()
public android.graphics.Point getBottomLeft()
public void moveBy(float dx,
float dy)
public void growBy(int edge,
float dx,
float dy)
public int getHit(float x,
float y,
float hysteresis)