Udostępnij za pośrednictwem


Region.Contains(Int32, Int32) Method

Definition

Return true if the region contains the specified point

[Android.Runtime.Register("contains", "(II)Z", "GetContains_IIHandler")]
public virtual bool Contains (int x, int y);
[<Android.Runtime.Register("contains", "(II)Z", "GetContains_IIHandler")>]
abstract member Contains : int * int -> bool
override this.Contains : int * int -> bool

Parameters

x
Int32
y
Int32

Returns

Attributes

Remarks

Return true if the region contains the specified point

Java documentation for android.graphics.Region.contains(int, int).

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