Skip to content

CircleBorder 继承自: OutlinedBorder, ShapeBorder

A border with a circle shape.

属性 ​

名称类型默认值说明
eccentricityNumber0.0Defines how much the circle deforms to fit a rectangle. 0.0 keeps the shape circular, touching at least two sides of the rectangle. 1.0 fully deforms it into an oval touching all sides.
sideOptional[BorderSide]NoneThe border outline's color and weight.

方法 ​

名称类型默认值说明
copy'CircleBorder'—返回此对象的副本,可覆盖指定属性。

关注我,学习大模型、大数据、Python等热门技术。