你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
NamedPolygonString(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.