共用方式為


Display.GetRoundedCorner(Int32) Method

Definition

Returns the RoundedCorner of the given position if there is one.

[Android.Runtime.Register("getRoundedCorner", "(I)Landroid/view/RoundedCorner;", "GetGetRoundedCorner_IHandler", ApiSince=31)]
public virtual Android.Views.RoundedCorner? GetRoundedCorner (int position);
[<Android.Runtime.Register("getRoundedCorner", "(I)Landroid/view/RoundedCorner;", "GetGetRoundedCorner_IHandler", ApiSince=31)>]
abstract member GetRoundedCorner : int -> Android.Views.RoundedCorner
override this.GetRoundedCorner : int -> Android.Views.RoundedCorner

Parameters

position
Int32

the position of the rounded corner on the display.

Returns

the rounded corner of the given position. Returns null if there is none.

Attributes

Remarks

Returns the RoundedCorner of the given position if there is one.

Java documentation for android.view.Display.getRoundedCorner(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