WindowInsets.GetRoundedCorner(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
RoundedCorner返回给定位置(如果有)。
[Android.Runtime.Register("getRoundedCorner", "(I)Landroid/view/RoundedCorner;", "", ApiSince=31)]
public Android.Views.RoundedCorner? GetRoundedCorner(int position);
[<Android.Runtime.Register("getRoundedCorner", "(I)Landroid/view/RoundedCorner;", "", ApiSince=31)>]
member this.GetRoundedCorner : int -> Android.Views.RoundedCorner
参数
- position
- Int32
显示中圆角的位置。 该值应为下列值之一:RoundedCorner#POSITION_TOP_LEFT、、RoundedCorner#POSITION_TOP_RIGHTRoundedCorner#POSITION_BOTTOM_RIGHTRoundedCorner#POSITION_BOTTOM_LEFT。
返回
给定位置的圆角。
null如果应用程序边界内没有圆角区域或圆角区域,则返回。
- 特性
注解
RoundedCorner返回给定位置(如果有)。
Java文档android.view.WindowInsets.getRoundedCorner(int)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。