RoundedRectBlurRegion Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| RoundedRectBlurRegion() |
Constructs a new |
| RoundedRectBlurRegion(RectF, Single[], Single, Single) |
Constructs a new |
RoundedRectBlurRegion()
Constructs a new RoundedRectBlurRegion with the default parameters.
[Android.Runtime.Register(".ctor", "()V", "", ApiSince=37)]
public RoundedRectBlurRegion();
- Attributes
Remarks
Constructs a new RoundedRectBlurRegion with the default parameters.
The default bounds and all corner radii are 0.0f.
The default alpha is 1.0f and the default blur radius is 0.0f.
Android reference for android.view.RoundedRectBlurRegion.RoundedRectBlurRegion.
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
RoundedRectBlurRegion(RectF, Single[], Single, Single)
Constructs a new RoundedRectBlurRegion with the specified rounded rectangle
coordinates and corner radii.
[Android.Runtime.Register(".ctor", "(Landroid/graphics/RectF;[FFF)V", "", ApiSince=37)]
public RoundedRectBlurRegion(Android.Graphics.RectF rect, float[] cornerRadii, float alpha, float blurRadius);
[<Android.Runtime.Register(".ctor", "(Landroid/graphics/RectF;[FFF)V", "", ApiSince=37)>]
new Android.Views.RoundedRectBlurRegion : Android.Graphics.RectF * single[] * single * single -> Android.Views.RoundedRectBlurRegion
Parameters
- rect
- RectF
bounds of the blur region
- cornerRadii
- Single[]
array of 8 floats representing the corner radii
- alpha
- Single
alpha value of the region [0.0 - 1.0]
- blurRadius
- Single
the blur radius in pixels
- Attributes
Remarks
Constructs a new RoundedRectBlurRegion with the specified rounded rectangle coordinates and corner radii.
The cornerRadii values are ordered [topLeftX, topLeftY, topRightX, topRightY, bottomLeftX, bottomLeftY, bottomRightX, bottomRightY].
Android reference for android.view.RoundedRectBlurRegion.RoundedRectBlurRegion.
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.