共用方式為


CornerRadius Constructors

Definition

Overloads

CornerRadius(Double)

Creates a new CornerRadius such that all four of its corners have the same radius.

CornerRadius(Double, Double, Double, Double)

Creates a new CornerRadius such that each of four of its corners have the specified radiuses.

CornerRadius(Double)

Creates a new CornerRadius such that all four of its corners have the same radius.

public CornerRadius (double uniformRadius);
new Xamarin.Forms.CornerRadius : double -> Xamarin.Forms.CornerRadius

Parameters

uniformRadius
System.Double

The radius for all four corners.

Applies to

CornerRadius(Double, Double, Double, Double)

Creates a new CornerRadius such that each of four of its corners have the specified radiuses.

public CornerRadius (double topLeft, double topRight, double bottomLeft, double bottomRight);
new Xamarin.Forms.CornerRadius : double * double * double * double -> Xamarin.Forms.CornerRadius

Parameters

topLeft
System.Double

The radius of the top left corner.

topRight
System.Double

The radius of the top right corner.

bottomLeft
System.Double

The radius of the bottom left corner.

bottomRight
System.Double

The radius of the bottom right corner.

Applies to