Class AnnotationRectangleJson
- java.lang.Object
-
- com.blackberry.workspaces.api.sdk.json.BaseJson
-
- com.blackberry.workspaces.api.sdk.json.AnnotationFieldBaseJson
-
- com.blackberry.workspaces.api.sdk.json.AnnotationRectangleJson
-
- All Implemented Interfaces:
Serializable
public class AnnotationRectangleJson extends AnnotationFieldBaseJson
A rectangle as defined by PDF Spec (PDF32000 2008), which is defined by two points: one indicating the lower left corner, and the other the upper right corner.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AnnotationRectangleJson()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AnnotationPointJson
getLowerLeftCorner()
Lower left cornerAnnotationPointJson
getUpperRightCorner()
Upper right cornervoid
setLowerLeftCorner(AnnotationPointJson lowerLeftCorner)
Lower left cornervoid
setUpperRightCorner(AnnotationPointJson upperRightCorner)
Upper right corner-
Methods inherited from class com.blackberry.workspaces.api.sdk.json.BaseJson
getObjType, setObjType, toString
-
-
-
-
Method Detail
-
getLowerLeftCorner
public AnnotationPointJson getLowerLeftCorner()
Lower left corner- Returns:
- Lower left corner
-
setLowerLeftCorner
public void setLowerLeftCorner(AnnotationPointJson lowerLeftCorner)
Lower left corner- Parameters:
lowerLeftCorner
- Lower left corner
-
getUpperRightCorner
public AnnotationPointJson getUpperRightCorner()
Upper right corner- Returns:
- Upper right corner
-
setUpperRightCorner
public void setUpperRightCorner(AnnotationPointJson upperRightCorner)
Upper right corner- Parameters:
upperRightCorner
- Upper right corner
-
-