Sdílet prostřednictvím


MeteringRectangle.Size Property

Definition

Convenience method to create the size from this metering rectangle.

public Android.Util.Size? Size { [Android.Runtime.Register("getSize", "()Landroid/util/Size;", "")] get; }
[<get: Android.Runtime.Register("getSize", "()Landroid/util/Size;", "")>]
member this.Size : Android.Util.Size

Property Value

a new Size with non-negative width and height

Attributes

Remarks

Convenience method to create the size from this metering rectangle.

This strips away the X,Y,weight from the rectangle.

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

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