Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OpenHarmony
Docs
提交
176ddb58
D
Docs
项目概览
OpenHarmony
/
Docs
大约 2 年 前同步成功
通知
161
Star
293
Fork
28
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
Docs
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
176ddb58
编写于
6月 22, 2022
作者:
O
openharmony_ci
提交者:
Gitee
6月 22, 2022
浏览文件
操作
浏览文件
下载
差异文件
!5584 【OpenHarmony开源贡献者计划2022】Optimize the format specification and reduce the reading threshold.
Merge pull request !5584 from Mr_YX/master
上级
0237e417
55d9090a
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
46 addition
and
46 deletion
+46
-46
en/application-dev/reference/arkui-ts/ts-drawing-components-circle.md
...on-dev/reference/arkui-ts/ts-drawing-components-circle.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-ellipse.md
...n-dev/reference/arkui-ts/ts-drawing-components-ellipse.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-line.md
...tion-dev/reference/arkui-ts/ts-drawing-components-line.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-path.md
...tion-dev/reference/arkui-ts/ts-drawing-components-path.md
+4
-4
en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md
...n-dev/reference/arkui-ts/ts-drawing-components-polygon.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md
...-dev/reference/arkui-ts/ts-drawing-components-polyline.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md
...tion-dev/reference/arkui-ts/ts-drawing-components-rect.md
+6
-6
en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md
...ion-dev/reference/arkui-ts/ts-drawing-components-shape.md
+6
-6
未找到文件。
en/application-dev/reference/arkui-ts/ts-drawing-components-circle.md
浏览文件 @
176ddb58
# Circle
# Circle
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ Circle(options?: {width: Length, height: Length})
...
@@ -36,7 +36,7 @@ Circle(options?: {width: Length, height: Length})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the circle is located. |
| width | Length | 0 | No | Width of the rectangle where the circle is located. |
| height | Length | 0 | No | Height of the rectangle where the circle is located. |
| height | Length | 0 | No | Height of the rectangle where the circle is located. |
...
@@ -45,7 +45,7 @@ Circle(options?: {width: Length, height: Length})
...
@@ -45,7 +45,7 @@ Circle(options?: {width: Length, height: Length})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
CircleExample
{
struct
CircleExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-ellipse.md
浏览文件 @
176ddb58
# Ellipse
# Ellipse
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ ellipse(options?: {width: Length, height: Length})
...
@@ -36,7 +36,7 @@ ellipse(options?: {width: Length, height: Length})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the ellipse is located. |
| width | Length | 0 | No | Width of the rectangle where the ellipse is located. |
| height | Length | 0 | No | Height of the rectangle where the ellipse is located. |
| height | Length | 0 | No | Height of the rectangle where the ellipse is located. |
...
@@ -45,7 +45,7 @@ ellipse(options?: {width: Length, height: Length})
...
@@ -45,7 +45,7 @@ ellipse(options?: {width: Length, height: Length})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
EllipseExample
{
struct
EllipseExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-line.md
浏览文件 @
176ddb58
# Line
# Line
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ Line(options?: {width: Length, height: Length})
...
@@ -36,7 +36,7 @@ Line(options?: {width: Length, height: Length})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the straight line is located. |
| width | Length | 0 | No | Width of the rectangle where the straight line is located. |
| height | Length | 0 | No | Height of the rectangle where the straight line is located. |
| height | Length | 0 | No | Height of the rectangle where the straight line is located. |
...
@@ -47,7 +47,7 @@ Line(options?: {width: Length, height: Length})
...
@@ -47,7 +47,7 @@ Line(options?: {width: Length, height: Length})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
LineExample
{
struct
LineExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-path.md
浏览文件 @
176ddb58
# Path
# Path
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -20,7 +20,7 @@ None
...
@@ -20,7 +20,7 @@ None
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the path is located. |
| width | Length | 0 | No | Width of the rectangle where the path is located. |
| height | Length | 0 | No | Height of the rectangle where the path is located. |
| height | Length | 0 | No | Height of the rectangle where the path is located. |
...
@@ -57,7 +57,7 @@ For example, the command **M0 20 L50 50 L50 100 Z** defines a path that starts f
...
@@ -57,7 +57,7 @@ For example, the command **M0 20 L50 50 L50 100 Z** defines a path that starts f
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
PathExample
{
struct
PathExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-polygon.md
浏览文件 @
176ddb58
# Polygon
# Polygon
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ Polygon(value:{options?: {width: Length, height: Length}})
...
@@ -36,7 +36,7 @@ Polygon(value:{options?: {width: Length, height: Length}})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the polygon is located. |
| width | Length | 0 | No | Width of the rectangle where the polygon is located. |
| height | Length | 0 | No | Height of the rectangle where the polygon is located. |
| height | Length | 0 | No | Height of the rectangle where the polygon is located. |
...
@@ -46,7 +46,7 @@ Polygon(value:{options?: {width: Length, height: Length}})
...
@@ -46,7 +46,7 @@ Polygon(value:{options?: {width: Length, height: Length}})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
PolygonExample
{
struct
PolygonExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-polyline.md
浏览文件 @
176ddb58
# Polyline
# Polyline
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ Polyline(options?: {width: Length, height: Length})
...
@@ -36,7 +36,7 @@ Polyline(options?: {width: Length, height: Length})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width of the rectangle where the polyline is located. |
| width | Length | 0 | No | Width of the rectangle where the polyline is located. |
| height | Length | 0 | No | Height of the rectangle where the polyline is located. |
| height | Length | 0 | No | Height of the rectangle where the polyline is located. |
...
@@ -46,7 +46,7 @@ Polyline(options?: {width: Length, height: Length})
...
@@ -46,7 +46,7 @@ Polyline(options?: {width: Length, height: Length})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
PolylineExample
{
struct
PolylineExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-rect.md
浏览文件 @
176ddb58
# Rect
# Rect
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -39,7 +39,7 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L
...
@@ -39,7 +39,7 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| width | Length | 0 | No | Width. |
| width | Length | 0 | No | Width. |
| height | Length | 0 | No | Height. |
| height | Length | 0 | No | Height. |
...
@@ -51,7 +51,7 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L
...
@@ -51,7 +51,7 @@ Rect(value:{options?: {width: Length,height: Length,radius?: Length | Array<L
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
RectExample
{
struct
RectExample
{
...
...
en/application-dev/reference/arkui-ts/ts-drawing-components-shape.md
浏览文件 @
176ddb58
# Shape
# Shape
>
 **NOTE**
>
**NOTE**<br>
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
> This component is supported since API version 7. Updates will be marked with a superscript to indicate their earliest API version.
...
@@ -36,7 +36,7 @@ Shape(value:{target?: PixelMap})
...
@@ -36,7 +36,7 @@ Shape(value:{target?: PixelMap})
## Attributes
## Attributes
| Name | Type | Default Value | Mandatory | Description |
| Name | Type | Default Value | Mandatory | Description |
| -------- | -------- | -------- | -------- | -------- |
| -------- | -------- | -------- | -------- | -------- |
| viewPort | {
<br/>
x: Length,
<br/>
y: Length,
<br/>
width: Length,
<br/>
height: Length
<br/>
} | - | Yes | View port of the shape. |
| viewPort | {
<br/>
x: Length,
<br/>
y: Length,
<br/>
width: Length,
<br/>
height: Length
<br/>
} | - | Yes | View port of the shape. |
| fill | Color | Black | No | Fill color. |
| fill | Color | Black | No | Fill color. |
...
@@ -61,7 +61,7 @@ Shape(value:{target?: PixelMap})
...
@@ -61,7 +61,7 @@ Shape(value:{target?: PixelMap})
## Example
## Example
```
```
ts
@
Entry
@
Entry
@
Component
@
Component
struct
ShapeExample
{
struct
ShapeExample
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录