public static class ZoomRotateCrop.Para extends Object
(1) flip first, then rotate (flipX,flipY,rotate) (2) crop range (cropX,cropY,cropW,cropH) (3) adapt to the view (viewW * viewH)
| Modifier and Type | Field and Description |
|---|---|
int |
cropH
crop height, Y-axis, less than or equal to 0 means not processed.
|
int |
cropW
crop width, X-axis, less than or equal to 0 means not processed.
|
int |
cropX
crop from the left-top X axis (left:0, right:+)
|
int |
cropY
crop from the left-top Y axis (top:0, down:+)
|
boolean |
flipX
flip X-axis (up and down)
|
boolean |
flipY
flip Y-axis (left and right)
|
int |
rotate
Rotate one angle clockwise (deg 360)
|
int |
viewH
view height, Y-axis
|
int |
viewW
view width X-axis
|
| Constructor and Description |
|---|
Para() |
public boolean flipX
public boolean flipY
public int rotate
public int cropX
public int cropY
public int cropW
public int cropH
public int viewW
public int viewH
Copyright © 2024. All rights reserved.