Sdílet prostřednictvím


Face.Bounds Property

Definition

Bounds of the face.

public Android.Graphics.Rect? Bounds { [Android.Runtime.Register("getBounds", "()Landroid/graphics/Rect;", "")] get; }
[<get: Android.Runtime.Register("getBounds", "()Landroid/graphics/Rect;", "")>]
member this.Bounds : Android.Graphics.Rect

Property Value

Attributes

Remarks

Bounds of the face.

A rectangle relative to the sensor's CameraCharacteristics#SENSOR_INFO_ACTIVE_ARRAY_SIZE, with (0,0) representing the top-left corner of the active array rectangle.

There is no constraints on the Rectangle value other than it is not-null.

Java documentation for android.hardware.camera2.params.Face.getBounds().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to