RoundRectShape 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
RoundRectShape(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
RoundRectShape(Single[], RectF, Single[]) |
RoundRectShape constructor. |
RoundRectShape(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected RoundRectShape (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.Shapes.RoundRectShape : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.Shapes.RoundRectShape
Parameters
- transfer
- JniHandleOwnership
A JniHandleOwnershipindicating how to handle javaReference
Remarks
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
RoundRectShape(Single[], RectF, Single[])
RoundRectShape constructor.
[Android.Runtime.Register(".ctor", "([FLandroid/graphics/RectF;[F)V", "")]
public RoundRectShape (float[]? outerRadii, Android.Graphics.RectF? inset, float[]? innerRadii);
[<Android.Runtime.Register(".ctor", "([FLandroid/graphics/RectF;[F)V", "")>]
new Android.Graphics.Drawables.Shapes.RoundRectShape : single[] * Android.Graphics.RectF * single[] -> Android.Graphics.Drawables.Shapes.RoundRectShape
Parameters
- outerRadii
- Single[]
An array of 8 radius values, for the outer roundrect.
The first two floats are for the top-left corner
(remaining pairs correspond clockwise). For no rounded
corners on the outer rectangle, pass null
.
- inset
- RectF
A RectF that specifies the distance from the inner
rect to each side of the outer rect. For no inner, pass
null
.
- innerRadii
- Single[]
An array of 8 radius values, for the inner roundrect.
The first two floats are for the top-left corner
(remaining pairs correspond clockwise). For no rounded
corners on the inner rectangle, pass null
. If
inset parameter is null
, this parameter is
ignored.
- Attributes
Remarks
RoundRectShape constructor.
Specifies an outer (round)rect and an optional inner (round)rect.
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.