public static class ImageUtils.SubArea
extends java.lang.Object
ImageUtils.getSubAreaRectangle(Rectangle, String)
Rectangle rectangle = new Rectangle(20, 50, 360, 700);
SubArea subarea = new SubArea(0,0,"20%","30%");
Rectangle subrect = getSubAreaRectangle(rectangle, subarea.toString());
Constructor and Description |
---|
SubArea(double topLefX,
double topLefY,
double bottomRightX,
double bottomRightY) |
SubArea(double topLefX,
double topLefY,
java.lang.String bottomRightX,
java.lang.String bottomRightY) |
SubArea(java.lang.String topLefX,
java.lang.String topLefY,
double bottomRightX,
double bottomRightY) |
SubArea(java.lang.String topLefX,
java.lang.String topLefY,
java.lang.String bottomRightX,
java.lang.String bottomRightY) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
public SubArea(java.lang.String topLefX, java.lang.String topLefY, java.lang.String bottomRightX, java.lang.String bottomRightY)
public SubArea(double topLefX, double topLefY, double bottomRightX, double bottomRightY)
public SubArea(double topLefX, double topLefY, java.lang.String bottomRightX, java.lang.String bottomRightY)
public SubArea(java.lang.String topLefX, java.lang.String topLefY, double bottomRightX, double bottomRightY)
Copyright © SAS Institute. All Rights Reserved.