Class PolygonImpl

    • Constructor Detail

      • PolygonImpl

        public PolygonImpl()
    • Method Detail

      • getPoints

        public java.lang.String getPoints()
        Description copied from interface: Polygon

        Gets the points of this polygon.

        Gets the points of this polygons as a whitespace separated list of value pairs (x,y).

        Specified by:
        getPoints in interface Polygon
        Returns:
        whitespace separated list of value pairs (x,y)
      • setPoints

        public void setPoints​(java.lang.String points)
        Description copied from interface: Polygon

        Sets the points of this polygon.

        Sets the points of this polygon as a list of whitespace separated value pairs (x,y).

        Specified by:
        setPoints in interface Polygon
        Parameters:
        points - whitespace separated value pairs (x,y)
      • getCoordinates

        public java.util.List<Point> getCoordinates()
        Description copied from interface: Polygon

        Gets the points of this polygon as list.

        Gets the points of this polygon as a list of Points.
        Note, that in the default implementation (and therefore XML schema), this property is XmlTransient, i.e.: not included in the XML document.
        Changes of values in the list are not reflected in the XML document after marshaling; to change values, use the Polygon.setPoints(String) methods instead.

        Specified by:
        getCoordinates in interface Polygon
        Returns:
        points as java.util.List