Share via


Rectangle Constructors

Definition

Overloads

Rectangle()

Initializes a new instance of the Rectangle class.

Rectangle(String, String, String, String)

Initializes a new instance of the Rectangle class.

Rectangle()

Initializes a new instance of the Rectangle class.

public Rectangle ();
Public Sub New ()

Applies to

Rectangle(String, String, String, String)

Initializes a new instance of the Rectangle class.

public Rectangle (string left = default, string top = default, string width = default, string height = default);
new Microsoft.Azure.Management.Media.Models.Rectangle : string * string * string * string -> Microsoft.Azure.Management.Media.Models.Rectangle
Public Sub New (Optional left As String = Nothing, Optional top As String = Nothing, Optional width As String = Nothing, Optional height As String = Nothing)

Parameters

left
String

The number of pixels from the left-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

top
String

The number of pixels from the top-margin. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

width
String

The width of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

height
String

The height of the rectangular region in pixels. This can be absolute pixel value (e.g 100), or relative to the size of the video (For example, 50%).

Applies to