Partager via


MeteringRectangle.Equals(MeteringRectangle) Method

Definition

Compare two metering rectangles to see if they are equal.

[Android.Runtime.Register("equals", "(Landroid/hardware/camera2/params/MeteringRectangle;)Z", "")]
public bool Equals (Android.Hardware.Camera2.Params.MeteringRectangle? other);
[<Android.Runtime.Register("equals", "(Landroid/hardware/camera2/params/MeteringRectangle;)Z", "")>]
override this.Equals : Android.Hardware.Camera2.Params.MeteringRectangle -> bool

Parameters

other
MeteringRectangle

Another MeteringRectangle

Returns

true if the metering rectangles are equal, false otherwise

Attributes

Remarks

Compare two metering rectangles to see if they are equal.

Two weighted rectangles are only considered equal if each of their components (x, y, width, height, weight) is respectively equal.

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

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