NamedLineString(String, String) Constructor

Definition

Initializes a new instance of NamedLineString.

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

Parameters

name
String

Line name. Must be unique within the node.

line
String

Point coordinates for the line start and end, respectively. Example: '[[0.3, 0.2],[0.9, 0.8]]'. 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 line is null.

Applies to