RoundRectShape 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
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 個半徑值組成的陣列,代表外圍的 roundrect。
前兩個浮點是左上角的浮點(剩下的浮點對應順時針方向)。 若外層矩形沒有圓角,則通過 null。
- inset
- RectF
一個 RectF,指定從內側矩形到外側正方形兩側的距離。 沒有內在的話,就跳過 null。
- innerRadii
- Single[]
一個包含 8 個半徑值的陣列,代表內圈 roundrect。
前兩個浮點是左上角的浮點(剩下的浮點對應順時針方向)。 若內側矩形無圓角,則通過 null。 若嵌入參數為 null,則忽略此參數。
- 屬性
備註
RoundRectShape 建構器。
指定一個外部(圓)矩形矩形及一個可選的內層(圓)矩形。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。