Language

Camera.Area.Rect Property

Definition

Caution

deprecated

Bounds of the area.

[Android.Runtime.Register("rect")]
[System.Obsolete("deprecated")]
public Android.Graphics.Rect? Rect { get; set; }
[<Android.Runtime.Register("rect")>]
[<System.Obsolete("deprecated")>]
member this.Rect : Android.Graphics.Rect with get, set

Property Value

The area bounds in camera coordinates, from (-1000, -1000) at the top-left to (1000, 1000) at the bottom-right. The bounds must stay within this range and have positive width and height.

Attributes

Remarks

Bounds of the area. (-1000, -1000) represents the top-left of the camera field of view, and (1000, 1000) represents the bottom-right of the field of view. Setting bounds outside that range is not allowed. Bounds with zero or negative width or height are not allowed.

Java documentation for android.hardware.Camera.Area.rect.

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

See also