Share via


MeteringRectangle.Rect Property

Definition

Convenience method to create a Rect from this metering rectangle.

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

Property Value

a new Rect with non-negative x1, y1, x2, y2

Attributes

Remarks

Convenience method to create a Rect from this metering rectangle.

This strips away the weight from the rectangle.

Java documentation for android.hardware.camera2.params.MeteringRectangle.getRect().

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