CropArea Class
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.
A JSON object consisting of coordinates specifying the four corners of a cropped rectangle within the input image.
public class CropArea
type CropArea = class
Public Class CropArea
- Inheritance
-
CropArea
Constructors
CropArea() |
Initializes a new instance of the CropArea class. |
CropArea(Double, Double, Double, Double) |
Initializes a new instance of the CropArea class. |
Properties
Bottom |
Gets or sets the bottom coordinate of the region to be cropped. The coordinate is a fractional value of the original image's height and is measured from the top edge of the image. Specify the coordinate as a value from 0.0 through 1.0. |
Left |
Gets or sets the left coordinate of the region to be cropped. The coordinate is a fractional value of the original image's width and is measured from the left edge of the image. Specify the coordinate as a value from 0.0 through 1.0. |
Right |
Gets or sets the right coordinate of the region to be cropped. The coordinate is a fractional value of the original image's width and is measured from the left edge of the image. Specify the coordinate as a value from 0.0 through 1.0. |
Top |
Gets or sets the top coordinate of the region to be cropped. The coordinate is a fractional value of the original image's height and is measured from the top edge of the image. Specify the coordinate as a value from 0.0 through 1.0. |
Methods
Validate() |
Validate the object. |
Applies to
Azure SDK for .NET