Class Quadrilateral


  • public class Quadrilateral
    extends NativeBase
    A quadrilateral is a polygon with four sides and four corners. When associated with text, the horizontal text writing direction goes from bottomLeft to bottomLeft.
    • Field Detail

      • bottomLeft

        public Point bottomLeft
      • bottomRight

        public Point bottomRight
      • topRight

        public Point topRight
      • topLeft

        public Point topLeft
    • Constructor Detail

      • Quadrilateral

        public Quadrilateral()
        Constructor.
      • Quadrilateral

        public Quadrilateral​(Point bottomLeft,
                             Point bottomRight,
                             Point topRight,
                             Point topLeft)
    • Method Detail

      • setBottomLeft

        public void setBottomLeft​(Point bottomLeft)
      • setBottomRight

        public void setBottomRight​(Point bottomRight)
      • setTopRight

        public void setTopRight​(Point topRight)
      • setTopLeft

        public void setTopLeft​(Point topLeft)
        Sets topLeft
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object