FaceRectangle Constructors
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.
Overloads
FaceRectangle() |
Initializes a new instance of the FaceRectangle class. |
FaceRectangle(Int32, Int32, Int32, Int32) |
Initializes a new instance of the FaceRectangle class. |
FaceRectangle()
- Source:
- FaceRectangle.cs
Initializes a new instance of the FaceRectangle class.
public FaceRectangle ();
Public Sub New ()
Applies to
FaceRectangle(Int32, Int32, Int32, Int32)
- Source:
- FaceRectangle.cs
Initializes a new instance of the FaceRectangle class.
public FaceRectangle (int width, int height, int left, int top);
new Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceRectangle : int * int * int * int -> Microsoft.Azure.CognitiveServices.Vision.Face.Models.FaceRectangle
Public Sub New (width As Integer, height As Integer, left As Integer, top As Integer)
Parameters
- width
- Int32
The width of the rectangle, in pixels.
- height
- Int32
The height of the rectangle, in pixels.
- left
- Int32
The distance from the left edge if the image to the left edge of the rectangle, in pixels.
- top
- Int32
The distance from the top edge if the image to the top edge of the rectangle, in pixels.
Applies to
Azure SDK for .NET