Dil

Face.Builder.SetBounds(Rect) Method

Definition

Bounds of the face.

[Android.Runtime.Register("setBounds", "(Landroid/graphics/Rect;)Landroid/hardware/camera2/params/Face$Builder;", "", ApiSince=34)]
public Android.Hardware.Camera2.Params.Face.Builder SetBounds(Android.Graphics.Rect bounds);
[<Android.Runtime.Register("setBounds", "(Landroid/graphics/Rect;)Landroid/hardware/camera2/params/Face$Builder;", "", ApiSince=34)>]
member this.SetBounds : Android.Graphics.Rect -> Android.Hardware.Camera2.Params.Face.Builder

Parameters

bounds
Rect

Bounds of the face. This value cannot be null.

Returns

This builder.

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.

Android reference for android.hardware.camera2.params.Face.Builder.setBounds.

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