Class NamedPolygonString


  • public final class NamedPolygonString
    extends NamedPolygonBase
    Describes a closed polygon configuration.
    • Constructor Detail

      • NamedPolygonString

        public NamedPolygonString​(String name,
                                  String polygon)
        Creates an instance of NamedPolygonString class.
        Parameters:
        name - the name value to set.
        polygon - the polygon value to set.
    • Method Detail

      • getPolygon

        public String getPolygon()
        Get the polygon property: Point coordinates for the polygon. Example: '[[0.3, 0.2],[0.9, 0.8],[0.7, 0.6]]'. Each point is expressed as [LEFT, TOP] coordinate ratios ranging from 0.0 to 1.0, where [0,0] is the upper-left frame corner and [1, 1] is the bottom-right frame corner.
        Returns:
        the polygon value.