io.vertx.mysqlclient.data.spatial

## Class Polygon

- java.lang.Object
- - io.vertx.mysqlclient.data.spatial.Geometry
  - - io.vertx.mysqlclient.data.spatial.Polygon

-     public class Polygon
      extends Geometry

  A Polygon is a planar Surface representing a multisided geometry. It is defined by a single exterior boundary and zero or more interior boundaries, where each interior boundary defines a hole in the Polygon.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Polygon()`
    `Polygon(long SRID, List<LineString> lineStrings)`
    `Polygon(Polygon other)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `List<LineString>` | `getLineStrings()`
    `Polygon` | `setLineStrings(List<LineString> lineStrings)`

    - ### Methods inherited from class io.vertx.mysqlclient.data.spatial.Geometry

      `getSRID, setSRID`

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

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### Polygon

          public Polygon()

    - #### Polygon

          public Polygon(Polygon other)

    - #### Polygon

          public Polygon(long SRID,
                         List<LineString> lineStrings)

  - ### Method Detail

    - #### setLineStrings

          public Polygon setLineStrings(List<LineString> lineStrings)

    - #### getLineStrings

          public List<LineString> getLineStrings()

Copyright © 2023 Eclipse. All rights reserved.