From e83c40e6afdcc415b6879e97c0a044ce3c139c5a Mon Sep 17 00:00:00 2001 From: king_he <6384784@qq.com> Date: Tue, 28 Jun 2022 02:14:24 +0000 Subject: [PATCH] update en/application-dev/reference/arkui-ts/ts-interpolation-calculation.md. Signed-off-by: king_he <6384784@qq.com> --- .../reference/arkui-ts/ts-interpolation-calculation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/en/application-dev/reference/arkui-ts/ts-interpolation-calculation.md b/en/application-dev/reference/arkui-ts/ts-interpolation-calculation.md index cf6ea2ea12..0a865ec22f 100644 --- a/en/application-dev/reference/arkui-ts/ts-interpolation-calculation.md +++ b/en/application-dev/reference/arkui-ts/ts-interpolation-calculation.md @@ -21,6 +21,7 @@ init(curve?: Curve): Object Implements initialization for the interpolation curve, which is used to create an interpolation curve object based on the input parameter. - Parameters + | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | | curve | Curve | No | Linear | Curve object. | @@ -35,6 +36,7 @@ steps(count: number, end: boolean): Object Constructs a step curve object. - Parameters + | Name | Type | Mandatory | Default Value | Description | | -------- | -------- | -------- | -------- | -------- | | count | number | Yes | - | Number of steps. The value must be a positive integer. | @@ -51,6 +53,7 @@ cubicBezier(x1: number, y1: number, x2: number, y2: number): Object Constructs a third-order Bezier curve object. The curve value must be between 0 and 1. 1. Parameters + | Name | Type | Mandatory | Description | | ---- | ------ | --------- | -------------------------------------------------------------- | | x1 | number | Yes | Horizontal coordinate of the first point on the Bezier curve. | @@ -69,6 +72,7 @@ spring(velocity: number, mass: number, stiffness: number, damping: number): Obje Constructs a spring curve object. 1. Parameters + | Name | Type | Mandatory | Description | | --------- | ------ | --------- | ----------------- | | velocity | number | Yes | Initial velocity. | -- GitLab