Skip to content

View self cornerRadius number

XiongFangyu edited this page Nov 25, 2020 · 9 revisions

简介

设置视图的圆角半径,取值范围[0,∞)

  • @param radius number 半径值,取值范围[0,∞)

⚠️ 不能与阴影连用 当设置的半径值超过视图自身宽|高一半时,会自动将半径处理为视图自身宽|高一半

Clone this wiki locally