Class Rectangle
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Rectangle
An area within an image.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.getLeft()The X coordinate of the left edge of the rectangle, measured in the image's natural units.Encapsulates a message intended to be read by the end user.Key/value pairs that provide additional information about the object.getRight()The X coordinate of the right edge of the rectangle, measured in the image's natural units.getTop()The Y coordinate of the top edge of the rectangle, measured in the image's natural units.inthashCode()voidThe Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.voidThe X coordinate of the left edge of the rectangle, measured in the image's natural units.voidsetMessage(Message message) Encapsulates a message intended to be read by the end user.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidThe X coordinate of the right edge of the rectangle, measured in the image's natural units.voidThe Y coordinate of the top edge of the rectangle, measured in the image's natural units.toString()withBottom(Double bottom) withMessage(Message message) withProperties(PropertyBag properties)
-
Constructor Details
-
Rectangle
public Rectangle()
-
-
Method Details
-
getTop
The Y coordinate of the top edge of the rectangle, measured in the image's natural units. -
setTop
The Y coordinate of the top edge of the rectangle, measured in the image's natural units. -
withTop
-
getLeft
The X coordinate of the left edge of the rectangle, measured in the image's natural units. -
setLeft
The X coordinate of the left edge of the rectangle, measured in the image's natural units. -
withLeft
-
getBottom
The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units. -
setBottom
The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units. -
withBottom
-
getRight
The X coordinate of the right edge of the rectangle, measured in the image's natural units. -
setRight
The X coordinate of the right edge of the rectangle, measured in the image's natural units. -
withRight
-
getMessage
Encapsulates a message intended to be read by the end user. -
setMessage
Encapsulates a message intended to be read by the end user. -
withMessage
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-