Rectangle Class
Describes the properties of a rectangular window applied to the input media before processing it.
- Inheritance
-
azure.mgmt.media._serialization.ModelRectangle
Constructor
Rectangle(*, left: str | None = None, top: str | None = None, width: str | None = None, height: str | None = None, **kwargs)
Keyword-Only Parameters
Name | Description |
---|---|
left
|
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
|
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
|
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
|
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%). |
Variables
Name | Description |
---|---|
left
|
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
|
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
|
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
|
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%). |
Azure SDK for Python