Class AnnotationRectangleJson
java.lang.Object
com.blackberry.workspaces.sdk.api.json.BaseJson
com.blackberry.workspaces.sdk.api.json.AnnotationFieldBaseJson
com.blackberry.workspaces.sdk.api.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
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 cornerMethods inherited from class com.blackberry.workspaces.sdk.api.json.BaseJson
getObjType, setObjType, toString
-
Constructor Details
-
AnnotationRectangleJson
public AnnotationRectangleJson()
-
-
Method Details
-
getLowerLeftCorner
Lower left corner- Returns:
- Lower left corner
-
setLowerLeftCorner
Lower left corner- Parameters:
lowerLeftCorner
- Lower left corner
-
getUpperRightCorner
Upper right corner- Returns:
- Upper right corner
-
setUpperRightCorner
Upper right corner- Parameters:
upperRightCorner
- Upper right corner
-