Udostępnij za pośrednictwem


Camera.Area.Weight Property

Definition

Caution

deprecated

Weight of the area.

[Android.Runtime.Register("weight")]
[System.Obsolete("deprecated")]
public int Weight { get; set; }
[<Android.Runtime.Register("weight")>]
[<System.Obsolete("deprecated")>]
member this.Weight : int with get, set

Property Value

Attributes

Remarks

Weight of the area. The weight must range from 1 to 1000, and represents a weight for every pixel in the area. This means that a large metering area with the same weight as a smaller area will have more effect in the metering result. Metering areas can overlap and the driver will add the weights in the overlap region.

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

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