Class BoundingBox
java.lang.Object
org.mbari.vars.annosaurus.sdk.r1.models.BoundingBox
Bean class used for serializing/deserializing bounding box info into JSON
All coordinaates are intended to be pixels
-
Field Summary
-
Constructor Summary
ConstructorDescriptionBoundingBox
(int x, int y, int width, int height) BoundingBox
(int x, int y, int width, int height, String generator) BoundingBox
(int x, int y, int width, int height, String generator, UUID imageReferenceUuid) BoundingBox
(int x, int y, int width, int height, String generator, UUID imageReferenceUuid, String project) -
Method Summary
-
Field Details
-
LINK_NAME
-
-
Constructor Details
-
BoundingBox
public BoundingBox() -
BoundingBox
public BoundingBox(int x, int y, int width, int height) -
BoundingBox
-
BoundingBox
-
BoundingBox
-
-
Method Details
-
getX
public int getX() -
getY
public int getY() -
getWidth
public int getWidth() -
getHeight
public int getHeight() -
getGenerator
-
getImageReferenceUuid
-
getProject
-
toString
-