Class NamedPolygonString
- java.lang.Object
-
- com.azure.media.videoanalyzer.edge.models.NamedPolygonBase
-
- com.azure.media.videoanalyzer.edge.models.NamedPolygonString
-
public final class NamedPolygonString extends NamedPolygonBase
Describes a closed polygon configuration.
-
-
Constructor Summary
Constructors Constructor Description NamedPolygonString(String name, String polygon)
Creates an instance of NamedPolygonString class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getPolygon()
Get the polygon property: Point coordinates for the polygon.-
Methods inherited from class com.azure.media.videoanalyzer.edge.models.NamedPolygonBase
getName
-
-
-
-
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.
-
-