public class Location
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
Location.Builder
Builder.
|
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
height |
protected java.lang.Long |
left |
protected java.lang.Long |
top |
protected java.lang.Long |
width |
Modifier | Constructor and Description |
---|---|
protected |
Location(Location.Builder builder) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
height()
Gets the height.
|
java.lang.Long |
left()
Gets the left.
|
Location.Builder |
newBuilder()
New builder.
|
java.lang.Long |
top()
Gets the top.
|
java.lang.Long |
width()
Gets the width.
|
protected java.lang.Long top
protected java.lang.Long left
protected java.lang.Long width
protected java.lang.Long height
protected Location(Location.Builder builder)
public Location.Builder newBuilder()
public java.lang.Long top()
Y-position of top-left pixel of the bounding box.
public java.lang.Long left()
X-position of top-left pixel of the bounding box.
public java.lang.Long width()
Width in pixels of of the bounding box.
public java.lang.Long height()
Height in pixels of the bounding box.