diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-line.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-line.md
index 75e0177ec3aff4a4b45fd5c40a5b6d6235970178..01967ae1419f7405961e8201cb8d9129ac09c7b8 100644
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-line.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-line.md
@@ -32,6 +32,10 @@ Line(options?: LineOptions)
## LineOptions18+对象说明
用于描述Line绘制区域。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -40,8 +44,8 @@ Line(options?: LineOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 宽度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
-| height | [Length](ts-types.md#length) | 否 | 高度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
+| width7+ | [Length](ts-types.md#length) | 否 | 宽度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
+| height7+ | [Length](ts-types.md#length) | 否 | 高度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
## 属性
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-path.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-path.md
index 4581fa22cc46f9cc6938736ef9f4272e1aa4b919..c7ebc8299ff1fadb42e8d6909064d01afedc11a8 100644
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-path.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-path.md
@@ -32,6 +32,10 @@ Path(options?: PathOptions)
## PathOptions18+对象说明
用于描述Path绘制区域。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -40,9 +44,9 @@ Path(options?: PathOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 路径所在矩形的宽度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
-| height | [Length](ts-types.md#length) | 否 | 路径所在矩形的高度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
-| [commands](ts-drawing-components-path.md#commands) | [ResourceStr](ts-types.md#resourcestr) | 否 | 路径绘制的命令字符串。
值为异常值或缺省时按照自身内容需要的宽度处理。默认值:空字符串
异常值按照默认值处理。 |
+| width7+ | [Length](ts-types.md#length) | 否 | 路径所在矩形的宽度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
+| height7+ | [Length](ts-types.md#length) | 否 | 路径所在矩形的高度。
值为异常值或缺省时按照自身内容需要的宽度处理。
默认单位:vp |
+| [commands7+](ts-drawing-components-path.md#commands) | [ResourceStr](ts-types.md#resourcestr) | 否 | 路径绘制的命令字符串。
值为异常值或缺省时按照自身内容需要的宽度处理。默认值:空字符串
异常值按照默认值处理。 |
## 属性
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polygon.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polygon.md
old mode 100644
new mode 100755
index 35b2dc2d4063aa822453f77da9f662cfd8d213eb..c980df26f9b82c43a7f05665112729e8664410d0
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polygon.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polygon.md
@@ -33,6 +33,10 @@ Polygon(options?: PolygonOptions)
## PolygonOptions18+对象说明
用于描述Polygon绘制区域。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -41,8 +45,8 @@ Polygon(options?: PolygonOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| height | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| width7+ | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| height7+ | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
## 属性
@@ -106,7 +110,7 @@ fillOpacity(value: number | string | Resource)
stroke(value: ResourceColor)
-设置边框颜色,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法,不设置时,默认没有边框。异常值不会绘制边框。
+设置边框颜色,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。不设置时,默认没有边框。异常值不会绘制边框。
**卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用。
@@ -124,7 +128,7 @@ stroke(value: ResourceColor)
strokeDashArray(value: Array<any>)
-设置边框间隙,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围≥0,异常值按照默认值处理。
+设置边框间隙,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围≥0。异常值按照默认值处理。
**卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用。
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md
index 3f7d684cacaa01fba0f5b4712cad0be72d6b9250..ed413c5aa31ae4c289a6fcdf623a6c02dc158052 100644
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-polyline.md
@@ -31,6 +31,10 @@ Polyline(options?: PolylineOptions)
## PolylineOptions18+对象说明
用于描述Polyline绘制区域。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -39,8 +43,8 @@ Polyline(options?: PolylineOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| height | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| width7+ | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| height7+ | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
## 属性
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-rect.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-rect.md
old mode 100644
new mode 100755
index 5d9f79ef5894d85c044da2697190b8d187fff36b..480fdab4a6e5802d008f33135004fbc217cdd03f
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-rect.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-rect.md
@@ -33,6 +33,10 @@ Rect(options?: RectOptions | RoundedRectOptions)
## RectOptions18+对象说明
用于描述Rect绘制属性。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -41,13 +45,17 @@ Rect(options?: RectOptions | RoundedRectOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| height | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| radius | [Length](ts-types.md#length) \| Array<any> | 否 | 圆角半径,支持分别设置四个角的圆角度数,取值范围≥0。
该属性和radiusWidth/radiusHeight属性效果类似,在组合使用时优先于radiusWidth/radiusHeight生效。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| width7+ | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| height7+ | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| radius7+ | [Length](ts-types.md#length) \| Array<any> | 否 | 圆角半径,支持分别设置四个角的圆角度数,取值范围≥0。
该属性和radiusWidth/radiusHeight属性效果类似,在组合使用时优先于radiusWidth/radiusHeight生效。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
## RoundedRectOptions18+对象说明
用于描述Rect绘制属性。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
@@ -56,10 +64,10 @@ Rect(options?: RectOptions | RoundedRectOptions)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| width | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| height | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| radiusWidth | [Length](ts-types.md#length) | 否 | 圆角宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |圆角宽度。
默认值:0
异常值按照默认值处理。
-| radiusHeight | [Length](ts-types.md#length) | 否 | 圆角高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |圆角高度。
默认值:0
异常值按照默认值处理。
+| width7+ | [Length](ts-types.md#length) | 否 | 宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| height7+ | [Length](ts-types.md#length) | 否 | 高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| radiusWidth7+ | [Length](ts-types.md#length) | 否 | 圆角宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| radiusHeight7+ | [Length](ts-types.md#length) | 否 | 圆角高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
## 属性
@@ -141,7 +149,7 @@ fill(value: ResourceColor)
fillOpacity(value: number | string | Resource)
-设置填充区域透明度,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围是[0.0, 1.0],若给定值小于0.0,则取值为0.0;若给定值大于1.0,则取值为1.0,其余异常值按1.0处理。
+设置填充区域透明度,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围是[0.0, 1.0],若给定值小于0.0,则取值为0.0;若给定值大于1.0,则取值为1.0;其余异常值按1.0处理。
**卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用。
@@ -177,7 +185,7 @@ stroke(value: ResourceColor)
strokeDashArray(value: Array<any>)
-设置边框间隙,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围≥0,异常值按照默认值处理。
+设置边框间隙,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。取值范围≥0。异常值将按默认值处理。
**卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用。
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-shape.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-shape.md
old mode 100644
new mode 100755
index e353cfd5130031ff7b0c4cd8c90dcfc0e288b850..d1eea84a5feb7d98e7a7091c7864533837673a7f
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-shape.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-drawing-components-shape.md
@@ -15,7 +15,7 @@
## 子组件
-包含[Rect](ts-drawing-components-rect.md)、[Path](ts-drawing-components-path.md)、[Circle](ts-drawing-components-circle.md)、[Ellipse](ts-drawing-components-ellipse.md)、[Polyline](ts-drawing-components-polyline.md)、[Polygon](ts-drawing-components-polygon.md)、[Image](ts-basic-components-image.md)、[Text](ts-basic-components-text.md)、[Column](ts-container-column.md)、[Row](ts-container-row.md)、Shape子组件。
+包含[Rect](ts-drawing-components-rect.md)、[Path](ts-drawing-components-path.md)、[Circle](ts-drawing-components-circle.md)、[Ellipse](ts-drawing-components-ellipse.md)、[Polyline](ts-drawing-components-polyline.md)、[Polygon](ts-drawing-components-polygon.md)、[Image](ts-basic-components-image.md)、[Text](ts-basic-components-text.md)、[Column](ts-container-column.md)、[Row](ts-container-row.md)和Shape子组件。
## 接口
@@ -58,7 +58,11 @@ viewPort(value: ViewportRect)
| value | [ViewportRect](ts-drawing-components-shape.md#viewportrect18对象说明) | 是 | Viewport绘制属性。 |
## ViewportRect18+对象说明
-用于描述Viewport绘制属性。
+用于描述Viewport的绘制属性。
+
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
**卡片能力:** 从API version 18开始,该接口支持在ArkTS卡片中使用。
@@ -68,10 +72,10 @@ viewPort(value: ViewportRect)
| 名称 | 类型 | 必填 | 说明 |
| -------- | -------- | -------- | -------- |
-| x | [Length](ts-types.md#length) | 否 | 形状视口起始点的水平坐标。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| y | [Length](ts-types.md#length) | 否 | 形状视口起始点的垂直坐标。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| width | [Length](ts-types.md#length) | 否 | 形状视口的宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
-| height | [Length](ts-types.md#length) | 否 | 形状视口的高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| x7+ | [Length](ts-types.md#length) | 否 | 形状视口起始点的水平坐标。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| y7+ | [Length](ts-types.md#length) | 否 | 形状视口起始点的垂直坐标。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| width7+ | [Length](ts-types.md#length) | 否 | 形状视口的宽度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
+| height7+ | [Length](ts-types.md#length) | 否 | 形状视口的高度,取值范围≥0。
默认值:0
默认单位:vp
异常值按照默认值处理。 |
### fill
@@ -241,7 +245,7 @@ strokeOpacity(value: number | string | Resource)
strokeWidth(value: [Length](ts-types.md#length))
-设置边框宽度,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。该属性若为string类型, 暂不支持百分比,百分比按照1px处理。
+设置边框宽度,支持[attributeModifier](ts-universal-attributes-attribute-modifier.md#attributemodifier)动态设置属性方法。该属性若为string类型,暂不支持百分比,百分比按照1px处理。
**卡片能力:** 从API version 9开始,该接口支持在ArkTS卡片中使用。
@@ -289,7 +293,7 @@ mesh(value: Array<any>, column: number, row: number)
| 参数名 | 类型 | 必填 | 说明 |
| ------ | ------------------- | ---- | ------------------------------------------------------------ |
-| value | Array<any> | 是 | 长度(column + 1)* (row + 1)* 2的数组,它记录了扭曲后的位图各个顶点位置。 |
+| value | Array<any> | 是 | 长度(column + 1)* (row + 1)* 2的数组,记录扭曲后的位图各个顶点位置。 |
| column | number | 是 | mesh矩阵列数。 |
| row | number | 是 | mesh矩阵行数。 |
diff --git a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-media-components-video.md b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-media-components-video.md
index 013097155448ed77b02715e161ff2e94b2ca139d..127d41ddf250a1d7b641708b17811cae1c02d392 100755
--- a/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-media-components-video.md
+++ b/zh-cn/application-dev/reference/apis-arkui/arkui-ts/ts-media-components-video.md
@@ -121,7 +121,7 @@ controls(value: boolean)
> **说明:**
>
-> Video组件自带的控制器无法自定义。若有其他需求,可隐藏自带控制器,自定义控制器的样式或功能。参考[视频播放](https://gitee.com/harmonyos_samples/video-play)。
+> Video组件自带的控制器无法自定义。若有其他需求,可隐藏自带控制器并自定义控制器的样式或功能。参考[视频播放](https://gitee.com/harmonyos_samples/video-play)。
### objectFit
@@ -377,6 +377,10 @@ onFullscreenChange(callback: Callback\)
用于描述当前视频是否进入全屏播放状态。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
**系统能力:** SystemCapability.ArkUI.ArkUI.Full
@@ -389,6 +393,10 @@ onFullscreenChange(callback: Callback\)
用于描述当前视频的时长。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
**系统能力:** SystemCapability.ArkUI.ArkUI.Full
@@ -401,6 +409,10 @@ onFullscreenChange(callback: Callback\)
用于描述当前视频播放的进度。
+> **说明:**
+>
+> 为规范匿名对象的定义,API 18版本修改了此处的元素定义。其中,保留了历史匿名对象的起始版本信息,会出现外层元素@since版本号高于内层元素版本号的情况,但这不影响接口的使用。
+
**原子化服务API:** 从API version 18开始,该接口支持在原子化服务中使用。
**系统能力:** SystemCapability.ArkUI.ArkUI.Full