Class NamedPolygonString
Describes a closed polygon configuration.
Inherited Members
Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Media.VideoAnalyzer.Edge.dll
Syntax
public class NamedPolygonString : Azure.Media.VideoAnalyzer.Edge.Models.NamedPolygonBase
Constructors
NamedPolygonString(String, String)
Initializes a new instance of NamedPolygonString.
Declaration
public NamedPolygonString (string name, string polygon);
Parameters
System.String
name
Polygon name. Must be unique within the node. |
System.String
polygon
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. |
Exceptions
System.ArgumentNullException
|
Properties
Polygon
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.
Declaration
public string Polygon { get; set; }
Property Value
System.String
|