Linguaggio

RoundedCorner(Int32, Int32, Int32, Int32) Costruttore

Definizione

Crea un 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

Parametri

position
Int32

posizione dell'angolo arrotondato.

radius
Int32

raggio dell'angolo arrotondato.

centerX
Int32

x del punto centrale dell'angolo arrotondato.

centerY
Int32

y del punto centrale dell'angolo arrotondato.

Attributi

Commenti

Crea un RoundedCorner.

Si noti che questa opzione è utile solo per i test. Per il codice di produzione, gli sviluppatori devono usare sempre un RoundedCorner ottenuto dal sistema tramite WindowInsets#getRoundedCorner o Display#getRoundedCorner.

per android.view.RoundedCorner.RoundedCorner(int, int, int, int).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.

Si applica a