io.vertx.pgclient.data

## Class Polygon

- java.lang.Object
- - io.vertx.pgclient.data.Polygon

-     public class Polygon
      extends Object

  Polygon data type in Postgres represented by lists of points (the vertexes of the polygon). Polygons are very similar to closed paths, but are stored differently and have their own set of support routines.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Polygon()`
    `Polygon(List<Point> points)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `Polygon` | `addPoint(Point point)`
    `boolean` | `equals(Object o)`
    `List<Point>` | `getPoints()`
    `int` | `hashCode()`
    `void` | `setPoints(List<Point> points)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Polygon

          public Polygon()

    - #### Polygon

          public Polygon(List<Point> points)

  - ### Method Detail

    - #### getPoints

          public List<Point> getPoints()

    - #### setPoints

          public void setPoints(List<Point> points)

    - #### addPoint

          public Polygon addPoint(Point point)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2020 Eclipse. All rights reserved.