RoundedCorner(Int32, Int32, Int32, Int32) Constructor

Definition

Creates a RoundedCorner.

[Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=31)]
public RoundedCorner (int position, int radius, int centerX, int centerY);
[<Android.Runtime.Register(".ctor", "(IIII)V", "", ApiSince=31)>]
new Android.Views.RoundedCorner : int * int * int * int -> Android.Views.RoundedCorner

Parameters

position
Int32

the position of the rounded corner.

radius
Int32

the radius of the rounded corner.

centerX
Int32

the x of center point of the rounded corner.

centerY
Int32

the y of center point of the rounded corner.

Attributes

Remarks

Creates a RoundedCorner.

Note that this is only useful for tests. For production code, developers should always use a RoundedCorner obtained from the system via WindowInsets#getRoundedCorner or Display#getRoundedCorner.

Java documentation for android.view.RoundedCorner.RoundedCorner(int, int, 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