Android.Hardware.Camera2.Params.MeteringRectangle Members

The members of Android.Hardware.Camera2.Params.MeteringRectangle are listed below.

See Also: Inherited members from Java.Lang.Object

Public Constructors

Create a new metering rectangle.
Create a new metering rectangle.
Create a new metering rectangle.

Public Fields

const
MeteringWeightDontCareint (0). Weights set to this value will cause the camera device to ignore this rectangle.
const
MeteringWeightMaxint (1000). The maximum value of valid metering weight.
const
MeteringWeightMinint (0). The minimum value of valid metering weight.

Public Properties

[read-only]
Heightint. Return the height of the rectangle.
[read-only]
MeteringWeightint. Return the metering weight of the rectangle.
[read-only]
RectAndroid.Graphics.Rect. Convenience method to create a Android.Graphics.Rect from this metering rectangle.
[read-only]
SizeAndroid.Util.Size. Convenience method to create the size from this metering rectangle.
[read-only]
UpperLeftPointAndroid.Graphics.Point. Convenience method to create the upper-left (X,Y) coordinate as a Android.Graphics.Point.
[read-only]
Widthint. Return the width of the rectangle.

Protected Properties

[read-only]
override
ThresholdClassIntPtr. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.
[read-only]
override
ThresholdTypeType. This API supports the Mono for Android infrastructure and is not intended to be used directly from your code.

Public Methods

Equals(MeteringRectangle) : bool
Compare two metering rectangles to see if they are equal.
GetX() : int
Return the X coordinate of the left side of the rectangle.
GetY() : int
Return the Y coordinate of the upper side of the rectangle.