Language

RoundedRectBlurRegion.SetCornerRadii Method

Definition

Overloads

Name Description
SetCornerRadii(Single)

Sets the corner radius for all corners of the blur region.

SetCornerRadii(Single[])

Sets the corner radii for the blur region.

SetCornerRadii(Single)

Sets the corner radius for all corners of the blur region.

[Android.Runtime.Register("setCornerRadii", "(F)V", "", ApiSince=37)]
public void SetCornerRadii(float cornerRadius);
[<Android.Runtime.Register("setCornerRadii", "(F)V", "", ApiSince=37)>]
member this.SetCornerRadii : single -> unit

Parameters

cornerRadius
Single

radius in pixels.

Attributes

Remarks

Sets the corner radius for all corners of the blur region.

Android reference for android.view.RoundedRectBlurRegion.setCornerRadii.

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

SetCornerRadii(Single[])

Sets the corner radii for the blur region.

[Android.Runtime.Register("setCornerRadii", "([F)V", "", ApiSince=37)]
public void SetCornerRadii(float[] cornerRadii);
[<Android.Runtime.Register("setCornerRadii", "([F)V", "", ApiSince=37)>]
member this.SetCornerRadii : single[] -> unit

Parameters

cornerRadii
Single[]

array of 8 floats representing the corner radii

Attributes

Remarks

Sets the corner radii for the blur region.

The cornerRadii values are ordered [topLeftX, topLeftY, topRightX, topRightY, bottomLeftX, bottomLeftY, bottomRightX, bottomRightY].

The default value is all zeros.

Android reference for android.view.RoundedRectBlurRegion.setCornerRadii.

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