RoundRectShape 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| RoundRectShape(IntPtr, JniHandleOwnership) |
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。 |
| RoundRectShape(Single[], RectF, Single[]) |
RoundRectShape 构造函数。 |
RoundRectShape(IntPtr, JniHandleOwnership)
创建 JNI 对象的托管表示形式时使用的构造函数;由运行时调用。
protected RoundRectShape(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Graphics.Drawables.Shapes.RoundRectShape : nativeint * Android.Runtime.JniHandleOwnership -> Android.Graphics.Drawables.Shapes.RoundRectShape
参数
- transfer
- JniHandleOwnership
指示 JniHandleOwnership如何处理 javaReference
注解
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。
适用于
RoundRectShape(Single[], RectF, Single[])
RoundRectShape 构造函数。
[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
参数
- outerRadii
- Single[]
外部圆环的 8 个半径值的数组。
前两个浮点用于左上角(其余对对应顺时针)。 对于外部矩形上没有圆角,请传递 null。
- inset
- RectF
一个 RectF,指定从内部矩形到外部矩形的每一侧的距离。 对于无内部,传递 null。
- innerRadii
- Single[]
内部圆角的 8 个半径值的数组。
前两个浮点用于左上角(其余对对应顺时针)。 对于内部矩形上没有圆角,请传递 null。 如果 inset 参数为 null,则忽略此参数。
- 特性
注解
RoundRectShape 构造函数。
指定外部(round)rect 和可选的内部(round)rect。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。