public class Rectangle extends Object
| Constructor and Description |
|---|
Rectangle() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Double |
getBottom()
The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.
|
Double |
getLeft()
The X coordinate of the left edge of the rectangle, measured in the image's natural units.
|
Message |
getMessage()
Encapsulates a message intended to be read by the end user.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
Double |
getRight()
The X coordinate of the right edge of the rectangle, measured in the image's natural units.
|
Double |
getTop()
The Y coordinate of the top edge of the rectangle, measured in the image's natural units.
|
int |
hashCode() |
void |
setBottom(Double bottom)
The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.
|
void |
setLeft(Double left)
The X coordinate of the left edge of the rectangle, measured in the image's natural units.
|
void |
setMessage(Message message)
Encapsulates a message intended to be read by the end user.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRight(Double right)
The X coordinate of the right edge of the rectangle, measured in the image's natural units.
|
void |
setTop(Double top)
The Y coordinate of the top edge of the rectangle, measured in the image's natural units.
|
String |
toString() |
Rectangle |
withBottom(Double bottom) |
Rectangle |
withLeft(Double left) |
Rectangle |
withMessage(Message message) |
Rectangle |
withProperties(PropertyBag properties) |
Rectangle |
withRight(Double right) |
Rectangle |
withTop(Double top) |
public Double getTop()
public void setTop(Double top)
public Double getLeft()
public void setLeft(Double left)
public Double getBottom()
public void setBottom(Double bottom)
public Double getRight()
public void setRight(Double right)
public Message getMessage()
public void setMessage(Message message)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public Rectangle withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.