NamedPolygonString(String, String) Constructor

Definition

Initializes a new instance of NamedPolygonString.

public NamedPolygonString (string name, string polygon);
new Azure.Media.VideoAnalyzer.Edge.Models.NamedPolygonString : string * string -> Azure.Media.VideoAnalyzer.Edge.Models.NamedPolygonString
Public Sub New (name As String, polygon As String)

Parameters

name
String

Polygon name. Must be unique within the node.

polygon
String

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

name or polygon is null.

Applies to