Rectangle Class

Definition

Describes the properties of a rectangular window applied to the input media before processing it.

public class Rectangle
type Rectangle = class
Public Class Rectangle
Inheritance
Rectangle

Constructors

Rectangle()

Initializes a new instance of the Rectangle class.

Rectangle(String, String, String, String)

Initializes a new instance of the Rectangle class.

Properties

Height

Gets or sets 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%).

Left

Gets or sets 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

Gets or sets 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

Gets or sets 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%).

Applies to