主题
CircleBorder 继承自: OutlinedBorder, ShapeBorder
A border with a circle shape.
属性
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
eccentricity | Number | 0.0 | Defines 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. |
side | Optional[BorderSide] | None | The border outline's color and weight. |
方法
| 名称 | 类型 | 默认值 | 说明 |
|---|---|---|---|
copy | 'CircleBorder' | — | 返回此对象的副本,可覆盖指定属性。 |