java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.Rectangle

public class Rectangle extends Object
An area within an image.
  • Constructor Details

    • Rectangle

      public Rectangle()
  • Method Details

    • getTop

      public Double getTop()
      The Y coordinate of the top edge of the rectangle, measured in the image's natural units.
    • setTop

      public void setTop(Double top)
      The Y coordinate of the top edge of the rectangle, measured in the image's natural units.
    • withTop

      public Rectangle withTop(Double top)
    • getLeft

      public Double getLeft()
      The X coordinate of the left edge of the rectangle, measured in the image's natural units.
    • setLeft

      public void setLeft(Double left)
      The X coordinate of the left edge of the rectangle, measured in the image's natural units.
    • withLeft

      public Rectangle withLeft(Double left)
    • getBottom

      public Double getBottom()
      The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.
    • setBottom

      public void setBottom(Double bottom)
      The Y coordinate of the bottom edge of the rectangle, measured in the image's natural units.
    • withBottom

      public Rectangle withBottom(Double bottom)
    • getRight

      public Double getRight()
      The X coordinate of the right edge of the rectangle, measured in the image's natural units.
    • setRight

      public void setRight(Double right)
      The X coordinate of the right edge of the rectangle, measured in the image's natural units.
    • withRight

      public Rectangle withRight(Double right)
    • getMessage

      public Message getMessage()
      Encapsulates a message intended to be read by the end user.
    • setMessage

      public void setMessage(Message message)
      Encapsulates a message intended to be read by the end user.
    • withMessage

      public Rectangle withMessage(Message message)
    • getProperties

      public PropertyBag getProperties()
      Key/value pairs that provide additional information about the object.
    • setProperties

      public void setProperties(PropertyBag properties)
      Key/value pairs that provide additional information about the object.
    • withProperties

      public Rectangle withProperties(PropertyBag properties)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object