From d1fc822a9735bcc01a70a16003d8ad08eb51acf6 Mon Sep 17 00:00:00 2001 From: LiAn Date: Mon, 4 Jul 2022 12:38:31 +0000 Subject: [PATCH] update zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border.md. Signed-off-by: LiAn --- .../reference/arkui-ts/ts-universal-attributes-border.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border.md b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border.md index add589fa8e..b2936a304e 100644 --- a/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border.md +++ b/zh-cn/application-dev/reference/arkui-ts/ts-universal-attributes-border.md @@ -18,11 +18,20 @@ | 名称 | 参数类型 | 默认值 | 描述 | | -------- | -------- | -------- | -------- | | border | {
width?: Length,
color?: Color,
radius?: Length,
style?: BorderStyle
} | - | 统一边框样式设置接口。 | +| border | BorderOptions | - | 统一边框样式设置接口。 | | borderStyle | BorderStyle |  BorderStyle.Solid | 设置元素的边框样式。 | | borderWidth | Length | 0 | 设置元素的边框宽度。 | | borderColor | Color | - | 设置元素的边框颜色。 | | borderRadius | Length | 0 | 设置元素的边框圆角半径。 | +- BorderOptions属性说明 + | 参数名称 | 参数类型 | 默认值 | 必填 | 参数描述 | + | -------- | -------- | -------- | -------- | -------- | + | width | [Length](../../ui/ts-types.md#长度类型) | 0 | 否 | 边框宽度。 | + | color | [ResourceColor](../../ui/ts-types.md##resourcecolor类型8) | 'Black' | 否 | 边框颜色。 | + | radius | [Length](../../ui/ts-types.md#长度类型) | 0 | 否 | 边框角度。 | + | style | BorderStyle | BorderStyle.Solid | 否 | 边框样式。 | + - BorderStyle枚举说明 | 名称 | 描述 | -- GitLab