Class NamedPolygonString
java.lang.Object
com.azure.media.videoanalyzer.edge.models.NamedPolygonBase
com.azure.media.videoanalyzer.edge.models.NamedPolygonString
Describes a closed polygon configuration.
-
Constructor Summary
ConstructorDescriptionNamedPolygonString
(String name, String polygon) Creates an instance of NamedPolygonString class. -
Method Summary
Modifier and TypeMethodDescriptionGet the polygon property: Point coordinates for the polygon.Methods inherited from class com.azure.media.videoanalyzer.edge.models.NamedPolygonBase
getName
-
Constructor Details
-
NamedPolygonString
Creates an instance of NamedPolygonString class.- Parameters:
name
- the name value to set.polygon
- the polygon value to set.
-
-
Method Details
-
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.
-