161847f8eSopenharmony_ci/*
261847f8eSopenharmony_ci * Copyright (c) 2021-2023 Huawei Device Co., Ltd.
361847f8eSopenharmony_ci * Licensed under the Apache License, Version 2.0 (the "License");
461847f8eSopenharmony_ci * you may not use this file except in compliance with the License.
561847f8eSopenharmony_ci * You may obtain a copy of the License at
661847f8eSopenharmony_ci *
761847f8eSopenharmony_ci * http://www.apache.org/licenses/LICENSE-2.0
861847f8eSopenharmony_ci *
961847f8eSopenharmony_ci * Unless required by applicable law or agreed to in writing, software
1061847f8eSopenharmony_ci * distributed under the License is distributed on an "AS IS" BASIS,
1161847f8eSopenharmony_ci * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1261847f8eSopenharmony_ci * See the License for the specific language governing permissions and
1361847f8eSopenharmony_ci * limitations under the License.
1461847f8eSopenharmony_ci */
1561847f8eSopenharmony_ci
1661847f8eSopenharmony_ci/**
1761847f8eSopenharmony_ci * @file
1861847f8eSopenharmony_ci * @kit ArkUI
1961847f8eSopenharmony_ci */
2061847f8eSopenharmony_ci
2161847f8eSopenharmony_ci/**
2261847f8eSopenharmony_ci * Contains interpolator functions such as initialization, third-order Bezier curves, and spring curves.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @namespace curves
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @since 7
2761847f8eSopenharmony_ci */
2861847f8eSopenharmony_ci/**
2961847f8eSopenharmony_ci * Contains interpolator functions such as initialization, third-order Bezier curves, and spring curves.
3061847f8eSopenharmony_ci *
3161847f8eSopenharmony_ci * @namespace curves
3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3361847f8eSopenharmony_ci * @crossplatform
3461847f8eSopenharmony_ci * @since 10
3561847f8eSopenharmony_ci */
3661847f8eSopenharmony_ci/**
3761847f8eSopenharmony_ci * Contains interpolator functions such as initialization, third-order Bezier curves, and spring curves.
3861847f8eSopenharmony_ci *
3961847f8eSopenharmony_ci * @namespace curves
4061847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
4161847f8eSopenharmony_ci * @crossplatform
4261847f8eSopenharmony_ci * @atomicservice
4361847f8eSopenharmony_ci * @since 11
4461847f8eSopenharmony_ci */
4561847f8eSopenharmony_cideclare namespace curves {
4661847f8eSopenharmony_ci  /**
4761847f8eSopenharmony_ci   * enum Curve.
4861847f8eSopenharmony_ci   *
4961847f8eSopenharmony_ci   * @enum { number }
5061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5161847f8eSopenharmony_ci   * @since 7
5261847f8eSopenharmony_ci   */
5361847f8eSopenharmony_ci  /**
5461847f8eSopenharmony_ci   * enum Curve.
5561847f8eSopenharmony_ci   *
5661847f8eSopenharmony_ci   * @enum { number }
5761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5861847f8eSopenharmony_ci   * @crossplatform
5961847f8eSopenharmony_ci   * @since 10
6061847f8eSopenharmony_ci   */
6161847f8eSopenharmony_ci  /**
6261847f8eSopenharmony_ci   * enum Curve.
6361847f8eSopenharmony_ci   *
6461847f8eSopenharmony_ci   * @enum { number }
6561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6661847f8eSopenharmony_ci   * @crossplatform
6761847f8eSopenharmony_ci   * @atomicservice
6861847f8eSopenharmony_ci   * @since 11
6961847f8eSopenharmony_ci   */
7061847f8eSopenharmony_ci  enum Curve {
7161847f8eSopenharmony_ci    /**
7261847f8eSopenharmony_ci     * Linear. Indicates that the animation has the same velocity from start to finish.
7361847f8eSopenharmony_ci     *
7461847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
7561847f8eSopenharmony_ci     * @since 7
7661847f8eSopenharmony_ci     */
7761847f8eSopenharmony_ci    /**
7861847f8eSopenharmony_ci     * Linear. Indicates that the animation has the same velocity from start to finish.
7961847f8eSopenharmony_ci     *
8061847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
8161847f8eSopenharmony_ci     * @crossplatform
8261847f8eSopenharmony_ci     * @since 10
8361847f8eSopenharmony_ci     */
8461847f8eSopenharmony_ci    /**
8561847f8eSopenharmony_ci     * Linear. Indicates that the animation has the same velocity from start to finish.
8661847f8eSopenharmony_ci     *
8761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
8861847f8eSopenharmony_ci     * @crossplatform
8961847f8eSopenharmony_ci     * @atomicservice
9061847f8eSopenharmony_ci     * @since 11
9161847f8eSopenharmony_ci     */
9261847f8eSopenharmony_ci    Linear,
9361847f8eSopenharmony_ci    /**
9461847f8eSopenharmony_ci     * Ease. Indicates that the animation starts at a low speed, then speeds up, and slows down before the end,
9561847f8eSopenharmony_ci     * CubicBezier(0.25, 0.1, 0.25, 1.0).
9661847f8eSopenharmony_ci     *
9761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
9861847f8eSopenharmony_ci     * @since 7
9961847f8eSopenharmony_ci     */
10061847f8eSopenharmony_ci    /**
10161847f8eSopenharmony_ci     * Ease. Indicates that the animation starts at a low speed, then speeds up, and slows down before the end,
10261847f8eSopenharmony_ci     * CubicBezier(0.25, 0.1, 0.25, 1.0).
10361847f8eSopenharmony_ci     *
10461847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
10561847f8eSopenharmony_ci     * @crossplatform
10661847f8eSopenharmony_ci     * @since 10
10761847f8eSopenharmony_ci     */
10861847f8eSopenharmony_ci    /**
10961847f8eSopenharmony_ci     * Ease. Indicates that the animation starts at a low speed, then speeds up, and slows down before the end,
11061847f8eSopenharmony_ci     * CubicBezier(0.25, 0.1, 0.25, 1.0).
11161847f8eSopenharmony_ci     *
11261847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
11361847f8eSopenharmony_ci     * @crossplatform
11461847f8eSopenharmony_ci     * @atomicservice
11561847f8eSopenharmony_ci     * @since 11
11661847f8eSopenharmony_ci     */
11761847f8eSopenharmony_ci    Ease,
11861847f8eSopenharmony_ci    /**
11961847f8eSopenharmony_ci     * EaseIn. Indicates that the animation starts at a low speed, Cubic Bezier (0.42, 0.0, 1.0, 1.0).
12061847f8eSopenharmony_ci     *
12161847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
12261847f8eSopenharmony_ci     * @since 7
12361847f8eSopenharmony_ci     */
12461847f8eSopenharmony_ci    /**
12561847f8eSopenharmony_ci     * EaseIn. Indicates that the animation starts at a low speed, Cubic Bezier (0.42, 0.0, 1.0, 1.0).
12661847f8eSopenharmony_ci     *
12761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
12861847f8eSopenharmony_ci     * @crossplatform
12961847f8eSopenharmony_ci     * @since 10
13061847f8eSopenharmony_ci     */
13161847f8eSopenharmony_ci    /**
13261847f8eSopenharmony_ci     * EaseIn. Indicates that the animation starts at a low speed, Cubic Bezier (0.42, 0.0, 1.0, 1.0).
13361847f8eSopenharmony_ci     *
13461847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
13561847f8eSopenharmony_ci     * @crossplatform
13661847f8eSopenharmony_ci     * @atomicservice
13761847f8eSopenharmony_ci     * @since 11
13861847f8eSopenharmony_ci     */
13961847f8eSopenharmony_ci    EaseIn,
14061847f8eSopenharmony_ci    /**
14161847f8eSopenharmony_ci     * EaseOut. Indicates that the animation ends at low speed, CubicBezier (0.0, 0.0, 0.58, 1.0).
14261847f8eSopenharmony_ci     *
14361847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
14461847f8eSopenharmony_ci     * @since 7
14561847f8eSopenharmony_ci     */
14661847f8eSopenharmony_ci    /**
14761847f8eSopenharmony_ci     * EaseOut. Indicates that the animation ends at low speed, CubicBezier (0.0, 0.0, 0.58, 1.0).
14861847f8eSopenharmony_ci     *
14961847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
15061847f8eSopenharmony_ci     * @crossplatform
15161847f8eSopenharmony_ci     * @since 10
15261847f8eSopenharmony_ci     */
15361847f8eSopenharmony_ci    /**
15461847f8eSopenharmony_ci     * EaseOut. Indicates that the animation ends at low speed, CubicBezier (0.0, 0.0, 0.58, 1.0).
15561847f8eSopenharmony_ci     *
15661847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
15761847f8eSopenharmony_ci     * @crossplatform
15861847f8eSopenharmony_ci     * @atomicservice
15961847f8eSopenharmony_ci     * @since 11
16061847f8eSopenharmony_ci     */
16161847f8eSopenharmony_ci    EaseOut,
16261847f8eSopenharmony_ci    /**
16361847f8eSopenharmony_ci     * EaseInOut. Indicates that the animation starts and ends at low speed, CubicBezier (0.42, 0.0, 0.58, 1.0).
16461847f8eSopenharmony_ci     *
16561847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
16661847f8eSopenharmony_ci     * @since 7
16761847f8eSopenharmony_ci     */
16861847f8eSopenharmony_ci    /**
16961847f8eSopenharmony_ci     * EaseInOut. Indicates that the animation starts and ends at low speed, CubicBezier (0.42, 0.0, 0.58, 1.0).
17061847f8eSopenharmony_ci     *
17161847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
17261847f8eSopenharmony_ci     * @crossplatform
17361847f8eSopenharmony_ci     * @since 10
17461847f8eSopenharmony_ci     */
17561847f8eSopenharmony_ci    /**
17661847f8eSopenharmony_ci     * EaseInOut. Indicates that the animation starts and ends at low speed, CubicBezier (0.42, 0.0, 0.58, 1.0).
17761847f8eSopenharmony_ci     *
17861847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
17961847f8eSopenharmony_ci     * @crossplatform
18061847f8eSopenharmony_ci     * @atomicservice
18161847f8eSopenharmony_ci     * @since 11
18261847f8eSopenharmony_ci     */
18361847f8eSopenharmony_ci    EaseInOut,
18461847f8eSopenharmony_ci    /**
18561847f8eSopenharmony_ci     * FastOutSlowIn. Standard curve, cubic-bezier (0.4, 0.0, 0.2, 1.0).
18661847f8eSopenharmony_ci     *
18761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
18861847f8eSopenharmony_ci     * @since 7
18961847f8eSopenharmony_ci     */
19061847f8eSopenharmony_ci    /**
19161847f8eSopenharmony_ci     * FastOutSlowIn. Standard curve, cubic-bezier (0.4, 0.0, 0.2, 1.0).
19261847f8eSopenharmony_ci     *
19361847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
19461847f8eSopenharmony_ci     * @crossplatform
19561847f8eSopenharmony_ci     * @since 10
19661847f8eSopenharmony_ci     */
19761847f8eSopenharmony_ci    /**
19861847f8eSopenharmony_ci     * FastOutSlowIn. Standard curve, cubic-bezier (0.4, 0.0, 0.2, 1.0).
19961847f8eSopenharmony_ci     *
20061847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
20161847f8eSopenharmony_ci     * @crossplatform
20261847f8eSopenharmony_ci     * @atomicservice
20361847f8eSopenharmony_ci     * @since 11
20461847f8eSopenharmony_ci     */
20561847f8eSopenharmony_ci    FastOutSlowIn,
20661847f8eSopenharmony_ci    /**
20761847f8eSopenharmony_ci     * LinearOutSlowIn. Deceleration curve, cubic-bezier (0.0, 0.0, 0.2, 1.0).
20861847f8eSopenharmony_ci     *
20961847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
21061847f8eSopenharmony_ci     * @since 7
21161847f8eSopenharmony_ci     */
21261847f8eSopenharmony_ci    /**
21361847f8eSopenharmony_ci     * LinearOutSlowIn. Deceleration curve, cubic-bezier (0.0, 0.0, 0.2, 1.0).
21461847f8eSopenharmony_ci     *
21561847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
21661847f8eSopenharmony_ci     * @crossplatform
21761847f8eSopenharmony_ci     * @since 10
21861847f8eSopenharmony_ci     */
21961847f8eSopenharmony_ci    /**
22061847f8eSopenharmony_ci     * LinearOutSlowIn. Deceleration curve, cubic-bezier (0.0, 0.0, 0.2, 1.0).
22161847f8eSopenharmony_ci     *
22261847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
22361847f8eSopenharmony_ci     * @crossplatform
22461847f8eSopenharmony_ci     * @atomicservice
22561847f8eSopenharmony_ci     * @since 11
22661847f8eSopenharmony_ci     */
22761847f8eSopenharmony_ci    LinearOutSlowIn,
22861847f8eSopenharmony_ci    /**
22961847f8eSopenharmony_ci     * FastOutLinearIn. Acceleration curve, cubic-bezier (0.4, 0.0, 1.0, 1.0).
23061847f8eSopenharmony_ci     *
23161847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
23261847f8eSopenharmony_ci     * @since 7
23361847f8eSopenharmony_ci     */
23461847f8eSopenharmony_ci    /**
23561847f8eSopenharmony_ci     * FastOutLinearIn. Acceleration curve, cubic-bezier (0.4, 0.0, 1.0, 1.0).
23661847f8eSopenharmony_ci     *
23761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
23861847f8eSopenharmony_ci     * @crossplatform
23961847f8eSopenharmony_ci     * @since 10
24061847f8eSopenharmony_ci     */
24161847f8eSopenharmony_ci    /**
24261847f8eSopenharmony_ci     * FastOutLinearIn. Acceleration curve, cubic-bezier (0.4, 0.0, 1.0, 1.0).
24361847f8eSopenharmony_ci     *
24461847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
24561847f8eSopenharmony_ci     * @crossplatform
24661847f8eSopenharmony_ci     * @atomicservice
24761847f8eSopenharmony_ci     * @since 11
24861847f8eSopenharmony_ci     */
24961847f8eSopenharmony_ci    FastOutLinearIn,
25061847f8eSopenharmony_ci    /**
25161847f8eSopenharmony_ci     * ExtremeDeceleration. Abrupt curve, cubic-bezier (0.0, 0.0, 0.0, 1.0).
25261847f8eSopenharmony_ci     *
25361847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
25461847f8eSopenharmony_ci     * @since 7
25561847f8eSopenharmony_ci     */
25661847f8eSopenharmony_ci    /**
25761847f8eSopenharmony_ci     * ExtremeDeceleration. Abrupt curve, cubic-bezier (0.0, 0.0, 0.0, 1.0).
25861847f8eSopenharmony_ci     *
25961847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
26061847f8eSopenharmony_ci     * @crossplatform
26161847f8eSopenharmony_ci     * @since 10
26261847f8eSopenharmony_ci     */
26361847f8eSopenharmony_ci    /**
26461847f8eSopenharmony_ci     * ExtremeDeceleration. Abrupt curve, cubic-bezier (0.0, 0.0, 0.0, 1.0).
26561847f8eSopenharmony_ci     *
26661847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
26761847f8eSopenharmony_ci     * @crossplatform
26861847f8eSopenharmony_ci     * @atomicservice
26961847f8eSopenharmony_ci     * @since 11
27061847f8eSopenharmony_ci     */
27161847f8eSopenharmony_ci    ExtremeDeceleration,
27261847f8eSopenharmony_ci    /**
27361847f8eSopenharmony_ci     * Sharp. Sharp curves, cubic-bezier (0.33, 0.0, 0.67, 1.0).
27461847f8eSopenharmony_ci     *
27561847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
27661847f8eSopenharmony_ci     * @since 7
27761847f8eSopenharmony_ci     */
27861847f8eSopenharmony_ci    /**
27961847f8eSopenharmony_ci     * Sharp. Sharp curves, cubic-bezier (0.33, 0.0, 0.67, 1.0).
28061847f8eSopenharmony_ci     *
28161847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
28261847f8eSopenharmony_ci     * @crossplatform
28361847f8eSopenharmony_ci     * @since 10
28461847f8eSopenharmony_ci     */
28561847f8eSopenharmony_ci    /**
28661847f8eSopenharmony_ci     * Sharp. Sharp curves, cubic-bezier (0.33, 0.0, 0.67, 1.0).
28761847f8eSopenharmony_ci     *
28861847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
28961847f8eSopenharmony_ci     * @crossplatform
29061847f8eSopenharmony_ci     * @atomicservice
29161847f8eSopenharmony_ci     * @since 11
29261847f8eSopenharmony_ci     */
29361847f8eSopenharmony_ci    Sharp,
29461847f8eSopenharmony_ci    /**
29561847f8eSopenharmony_ci     * Rhythm. Rhythmic curve, cubic-bezier (0.7, 0.0, 0.2, 1.0).
29661847f8eSopenharmony_ci     *
29761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
29861847f8eSopenharmony_ci     * @since 7
29961847f8eSopenharmony_ci     */
30061847f8eSopenharmony_ci    /**
30161847f8eSopenharmony_ci     * Rhythm. Rhythmic curve, cubic-bezier (0.7, 0.0, 0.2, 1.0).
30261847f8eSopenharmony_ci     *
30361847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
30461847f8eSopenharmony_ci     * @crossplatform
30561847f8eSopenharmony_ci     * @since 10
30661847f8eSopenharmony_ci     */
30761847f8eSopenharmony_ci    /**
30861847f8eSopenharmony_ci     * Rhythm. Rhythmic curve, cubic-bezier (0.7, 0.0, 0.2, 1.0).
30961847f8eSopenharmony_ci     *
31061847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
31161847f8eSopenharmony_ci     * @crossplatform
31261847f8eSopenharmony_ci     * @atomicservice
31361847f8eSopenharmony_ci     * @since 11
31461847f8eSopenharmony_ci     */
31561847f8eSopenharmony_ci    Rhythm,
31661847f8eSopenharmony_ci    /**
31761847f8eSopenharmony_ci     * Smooth. Smooth curves, cubic-bezier (0.4, 0.0, 0.4, 1.0).
31861847f8eSopenharmony_ci     *
31961847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
32061847f8eSopenharmony_ci     * @since 7
32161847f8eSopenharmony_ci     */
32261847f8eSopenharmony_ci    /**
32361847f8eSopenharmony_ci     * Smooth. Smooth curves, cubic-bezier (0.4, 0.0, 0.4, 1.0).
32461847f8eSopenharmony_ci     *
32561847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
32661847f8eSopenharmony_ci     * @crossplatform
32761847f8eSopenharmony_ci     * @since 10
32861847f8eSopenharmony_ci     */
32961847f8eSopenharmony_ci    /**
33061847f8eSopenharmony_ci     * Smooth. Smooth curves, cubic-bezier (0.4, 0.0, 0.4, 1.0).
33161847f8eSopenharmony_ci     *
33261847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
33361847f8eSopenharmony_ci     * @crossplatform
33461847f8eSopenharmony_ci     * @atomicservice
33561847f8eSopenharmony_ci     * @since 11
33661847f8eSopenharmony_ci     */
33761847f8eSopenharmony_ci    Smooth,
33861847f8eSopenharmony_ci    /**
33961847f8eSopenharmony_ci     * Friction. Damping curves, CubicBezier (0.2, 0.0, 0.2, 1.0).
34061847f8eSopenharmony_ci     *
34161847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
34261847f8eSopenharmony_ci     * @since 7
34361847f8eSopenharmony_ci     */
34461847f8eSopenharmony_ci    /**
34561847f8eSopenharmony_ci     * Friction. Damping curves, CubicBezier (0.2, 0.0, 0.2, 1.0).
34661847f8eSopenharmony_ci     *
34761847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
34861847f8eSopenharmony_ci     * @crossplatform
34961847f8eSopenharmony_ci     * @since 10
35061847f8eSopenharmony_ci     */
35161847f8eSopenharmony_ci    /**
35261847f8eSopenharmony_ci     * Friction. Damping curves, CubicBezier (0.2, 0.0, 0.2, 1.0).
35361847f8eSopenharmony_ci     *
35461847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
35561847f8eSopenharmony_ci     * @crossplatform
35661847f8eSopenharmony_ci     * @atomicservice
35761847f8eSopenharmony_ci     * @since 11
35861847f8eSopenharmony_ci     */
35961847f8eSopenharmony_ci    Friction,
36061847f8eSopenharmony_ci  }
36161847f8eSopenharmony_ci
36261847f8eSopenharmony_ci  /**
36361847f8eSopenharmony_ci   * Interface for curve object.
36461847f8eSopenharmony_ci   *
36561847f8eSopenharmony_ci   * @typedef ICurve
36661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36761847f8eSopenharmony_ci   * @since 9
36861847f8eSopenharmony_ci   */
36961847f8eSopenharmony_ci  /**
37061847f8eSopenharmony_ci   * Interface for curve object.
37161847f8eSopenharmony_ci   *
37261847f8eSopenharmony_ci   * @typedef ICurve
37361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37461847f8eSopenharmony_ci   * @crossplatform
37561847f8eSopenharmony_ci   * @since 10
37661847f8eSopenharmony_ci   */
37761847f8eSopenharmony_ci  /**
37861847f8eSopenharmony_ci   * Interface for curve object.
37961847f8eSopenharmony_ci   *
38061847f8eSopenharmony_ci   * @typedef ICurve
38161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38261847f8eSopenharmony_ci   * @crossplatform
38361847f8eSopenharmony_ci   * @atomicservice
38461847f8eSopenharmony_ci   * @since 11
38561847f8eSopenharmony_ci   */
38661847f8eSopenharmony_ci  interface ICurve {
38761847f8eSopenharmony_ci    /**
38861847f8eSopenharmony_ci     * Get curve value by fraction.
38961847f8eSopenharmony_ci     *
39061847f8eSopenharmony_ci     * @param { number } fraction -Indicates the current normalized time parameter. Value range: [0, 1].
39161847f8eSopenharmony_ci     * Note: If the value is less than 0, it will be processed as 0. If the value is greater than 1, 1 is used.
39261847f8eSopenharmony_ci     * @returns { number }
39361847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
39461847f8eSopenharmony_ci     * @since 9
39561847f8eSopenharmony_ci     */
39661847f8eSopenharmony_ci    /**
39761847f8eSopenharmony_ci     * Get curve value by fraction.
39861847f8eSopenharmony_ci     *
39961847f8eSopenharmony_ci     * @param { number } fraction -Indicates the current normalized time parameter. Value range: [0, 1].
40061847f8eSopenharmony_ci     * Note: If the value is less than 0, it will be processed as 0. If the value is greater than 1, 1 is used.
40161847f8eSopenharmony_ci     * @returns { number }
40261847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
40361847f8eSopenharmony_ci     * @crossplatform
40461847f8eSopenharmony_ci     * @since 10
40561847f8eSopenharmony_ci     */
40661847f8eSopenharmony_ci    /**
40761847f8eSopenharmony_ci     * Get curve value by fraction.
40861847f8eSopenharmony_ci     *
40961847f8eSopenharmony_ci     * @param { number } fraction -Indicates the current normalized time parameter. Value range: [0, 1].
41061847f8eSopenharmony_ci     * Note: If the value is less than 0, it will be processed as 0. If the value is greater than 1, 1 is used.
41161847f8eSopenharmony_ci     * @returns { number }
41261847f8eSopenharmony_ci     * @syscap SystemCapability.ArkUI.ArkUI.Full
41361847f8eSopenharmony_ci     * @crossplatform
41461847f8eSopenharmony_ci     * @atomicservice
41561847f8eSopenharmony_ci     * @since 11
41661847f8eSopenharmony_ci     */
41761847f8eSopenharmony_ci    interpolate(fraction: number): number;
41861847f8eSopenharmony_ci  }
41961847f8eSopenharmony_ci
42061847f8eSopenharmony_ci  /**
42161847f8eSopenharmony_ci   * Initializes the interpolator curve when called.
42261847f8eSopenharmony_ci   *
42361847f8eSopenharmony_ci   * @param { Curve } [curve] The default value is Curve.Linear
42461847f8eSopenharmony_ci   * @returns { ICurve }
42561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42661847f8eSopenharmony_ci   * @since 9
42761847f8eSopenharmony_ci   */
42861847f8eSopenharmony_ci  /**
42961847f8eSopenharmony_ci   * Initializes the interpolator curve when called.
43061847f8eSopenharmony_ci   *
43161847f8eSopenharmony_ci   * @param { Curve } [curve] The default value is Curve.Linear
43261847f8eSopenharmony_ci   * @returns { ICurve }
43361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
43461847f8eSopenharmony_ci   * @crossplatform
43561847f8eSopenharmony_ci   * @since 10
43661847f8eSopenharmony_ci   */
43761847f8eSopenharmony_ci  /**
43861847f8eSopenharmony_ci   * Initializes the interpolator curve when called.
43961847f8eSopenharmony_ci   *
44061847f8eSopenharmony_ci   * @param { Curve } [curve] The default value is Curve.Linear
44161847f8eSopenharmony_ci   * @returns { ICurve }
44261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44361847f8eSopenharmony_ci   * @crossplatform
44461847f8eSopenharmony_ci   * @atomicservice
44561847f8eSopenharmony_ci   * @since 11
44661847f8eSopenharmony_ci   */
44761847f8eSopenharmony_ci  function initCurve(curve?: Curve): ICurve;
44861847f8eSopenharmony_ci
44961847f8eSopenharmony_ci  /**
45061847f8eSopenharmony_ci   * Initializes the interpolator curve when called.
45161847f8eSopenharmony_ci   *
45261847f8eSopenharmony_ci   * @param { Curve } [curve]
45361847f8eSopenharmony_ci   * @returns { string }
45461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
45561847f8eSopenharmony_ci   * @since 7
45661847f8eSopenharmony_ci   * @deprecated since 9
45761847f8eSopenharmony_ci   * @useinstead initCurve
45861847f8eSopenharmony_ci   */
45961847f8eSopenharmony_ci  function init(curve?: Curve): string;
46061847f8eSopenharmony_ci
46161847f8eSopenharmony_ci  /**
46261847f8eSopenharmony_ci   * Constructs a step curve when called.
46361847f8eSopenharmony_ci   *
46461847f8eSopenharmony_ci   * @param { number } count -The number of steps. The range of this value is [1, +∞).
46561847f8eSopenharmony_ci   * @param { boolean } end -A step change occurs at the start or end of each interval.
46661847f8eSopenharmony_ci   * @returns { ICurve }
46761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
46861847f8eSopenharmony_ci   * @since 9
46961847f8eSopenharmony_ci   */
47061847f8eSopenharmony_ci  /**
47161847f8eSopenharmony_ci   * Constructs a step curve when called.
47261847f8eSopenharmony_ci   *
47361847f8eSopenharmony_ci   * @param { number } count -The number of steps. The range of this value is [1, +∞).
47461847f8eSopenharmony_ci   * @param { boolean } end -A step change occurs at the start or end of each interval.
47561847f8eSopenharmony_ci   * @returns { ICurve }
47661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47761847f8eSopenharmony_ci   * @crossplatform
47861847f8eSopenharmony_ci   * @since 10
47961847f8eSopenharmony_ci   */
48061847f8eSopenharmony_ci  /**
48161847f8eSopenharmony_ci   * Constructs a step curve when called.
48261847f8eSopenharmony_ci   *
48361847f8eSopenharmony_ci   * @param { number } count -The number of steps. The range of this value is [1, +∞).
48461847f8eSopenharmony_ci   * @param { boolean } end -A step change occurs at the start or end of each interval.
48561847f8eSopenharmony_ci   * @returns { ICurve }
48661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48761847f8eSopenharmony_ci   * @crossplatform
48861847f8eSopenharmony_ci   * @atomicservice
48961847f8eSopenharmony_ci   * @since 11
49061847f8eSopenharmony_ci   */
49161847f8eSopenharmony_ci  function stepsCurve(count: number, end: boolean): ICurve;
49261847f8eSopenharmony_ci
49361847f8eSopenharmony_ci  /**
49461847f8eSopenharmony_ci   * Constructs a custom curve when called.
49561847f8eSopenharmony_ci   *
49661847f8eSopenharmony_ci   * @param { function } interpolate - fraction range is [0,1], the return number must between [0,1].
49761847f8eSopenharmony_ci   * @returns { ICurve }
49861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
49961847f8eSopenharmony_ci   * @crossplatform
50061847f8eSopenharmony_ci   * @since 10
50161847f8eSopenharmony_ci   */
50261847f8eSopenharmony_ci  /**
50361847f8eSopenharmony_ci   * Constructs a custom curve when called.
50461847f8eSopenharmony_ci   *
50561847f8eSopenharmony_ci   * @param { function } interpolate - fraction range is [0,1], the return number must between [0,1].
50661847f8eSopenharmony_ci   * @returns { ICurve }
50761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
50861847f8eSopenharmony_ci   * @crossplatform
50961847f8eSopenharmony_ci   * @atomicservice
51061847f8eSopenharmony_ci   * @since 11
51161847f8eSopenharmony_ci   */
51261847f8eSopenharmony_ci  function customCurve(interpolate: (fraction: number) => number): ICurve;
51361847f8eSopenharmony_ci  
51461847f8eSopenharmony_ci  /**
51561847f8eSopenharmony_ci   * Constructs a step curve when called.
51661847f8eSopenharmony_ci   *
51761847f8eSopenharmony_ci   * @param { number } count
51861847f8eSopenharmony_ci   * @param { boolean } end
51961847f8eSopenharmony_ci   * @returns { string }
52061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
52161847f8eSopenharmony_ci   * @since 7
52261847f8eSopenharmony_ci   * @deprecated since 9
52361847f8eSopenharmony_ci   * @useinstead stepsCurve
52461847f8eSopenharmony_ci   */
52561847f8eSopenharmony_ci  function steps(count: number, end: boolean): string;
52661847f8eSopenharmony_ci
52761847f8eSopenharmony_ci  /**
52861847f8eSopenharmony_ci   * Constructs a third-order Bezier curve when called.
52961847f8eSopenharmony_ci   * @param { number } x1 -Value range [0, 1].
53061847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
53161847f8eSopenharmony_ci   * @param { number } y1 -Value range (-∞, +∞).
53261847f8eSopenharmony_ci   * @param { number } x2 -Value range [0, 1].
53361847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
53461847f8eSopenharmony_ci   * @param { number } y2 -Value range (-∞, +∞).
53561847f8eSopenharmony_ci   * @returns { ICurve }
53661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
53761847f8eSopenharmony_ci   * @since 9
53861847f8eSopenharmony_ci   */
53961847f8eSopenharmony_ci  /**
54061847f8eSopenharmony_ci   * Constructs a third-order Bezier curve when called.
54161847f8eSopenharmony_ci   *
54261847f8eSopenharmony_ci   * @param { number } x1 -Value range [0, 1].
54361847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
54461847f8eSopenharmony_ci   * @param { number } y1 -Value range (-∞, +∞).
54561847f8eSopenharmony_ci   * @param { number } x2 -Value range [0, 1].
54661847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
54761847f8eSopenharmony_ci   * @param { number } y2 -Value range (-∞, +∞).
54861847f8eSopenharmony_ci   * @returns { ICurve }
54961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
55061847f8eSopenharmony_ci   * @crossplatform
55161847f8eSopenharmony_ci   * @since 10
55261847f8eSopenharmony_ci   */
55361847f8eSopenharmony_ci  /**
55461847f8eSopenharmony_ci   * Constructs a third-order Bezier curve when called.
55561847f8eSopenharmony_ci   *
55661847f8eSopenharmony_ci   * @param { number } x1 -Value range [0, 1].
55761847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
55861847f8eSopenharmony_ci   * @param { number } y1 -Value range (-∞, +∞).
55961847f8eSopenharmony_ci   * @param { number } x2 -Value range [0, 1].
56061847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
56161847f8eSopenharmony_ci   * @param { number } y2 -Value range (-∞, +∞).
56261847f8eSopenharmony_ci   * @returns { ICurve }
56361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56461847f8eSopenharmony_ci   * @crossplatform
56561847f8eSopenharmony_ci   * @atomicservice
56661847f8eSopenharmony_ci   * @since 11
56761847f8eSopenharmony_ci   */
56861847f8eSopenharmony_ci  function cubicBezierCurve(x1: number, y1: number, x2: number, y2: number): ICurve;
56961847f8eSopenharmony_ci
57061847f8eSopenharmony_ci  /**
57161847f8eSopenharmony_ci   * Constructs a third-order Bezier curve when called.
57261847f8eSopenharmony_ci   *
57361847f8eSopenharmony_ci   * @param { number } x1 -Value range [0, 1].
57461847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
57561847f8eSopenharmony_ci   * @param { number } y1 -Value range (-∞, +∞).
57661847f8eSopenharmony_ci   * @param { number } x2 -Value range [0, 1].
57761847f8eSopenharmony_ci   * Note: If the value is less than 0, 0 is used. If the value is greater than 1, 1 is used.
57861847f8eSopenharmony_ci   * @param { number } y2 -Value range (-∞, +∞).
57961847f8eSopenharmony_ci   * @returns { string }
58061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
58161847f8eSopenharmony_ci   * @since 7
58261847f8eSopenharmony_ci   * @deprecated since 9
58361847f8eSopenharmony_ci   * @useinstead cubicBezierCurve
58461847f8eSopenharmony_ci   */
58561847f8eSopenharmony_ci  function cubicBezier(x1: number, y1: number, x2: number, y2: number): string;
58661847f8eSopenharmony_ci
58761847f8eSopenharmony_ci  /**
58861847f8eSopenharmony_ci   * Constructs a spring curve when called. For more information about the meaning of the parameter, see spring().
58961847f8eSopenharmony_ci   *
59061847f8eSopenharmony_ci   * @param { number } velocity -Value range (-∞, +∞).
59161847f8eSopenharmony_ci   * @param { number } mass -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
59261847f8eSopenharmony_ci   * @param { number } stiffness -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
59361847f8eSopenharmony_ci   * @param { number } damping -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
59461847f8eSopenharmony_ci   * @returns { ICurve }
59561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59661847f8eSopenharmony_ci   * @since 9
59761847f8eSopenharmony_ci   */
59861847f8eSopenharmony_ci  /**
59961847f8eSopenharmony_ci   * Constructs a spring curve when called.
60061847f8eSopenharmony_ci   *
60161847f8eSopenharmony_ci   * @param { number } velocity -Value range (-∞, +∞).
60261847f8eSopenharmony_ci   * @param { number } mass -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
60361847f8eSopenharmony_ci   * @param { number } stiffness -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
60461847f8eSopenharmony_ci   * @param { number } damping -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
60561847f8eSopenharmony_ci   * @returns { ICurve }
60661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
60761847f8eSopenharmony_ci   * @crossplatform
60861847f8eSopenharmony_ci   * @since 10
60961847f8eSopenharmony_ci   */
61061847f8eSopenharmony_ci  /**
61161847f8eSopenharmony_ci   * Constructs a spring curve when called.
61261847f8eSopenharmony_ci   *
61361847f8eSopenharmony_ci   * @param { number } velocity -Value range (-∞, +∞).
61461847f8eSopenharmony_ci   * @param { number } mass -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
61561847f8eSopenharmony_ci   * @param { number } stiffness -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
61661847f8eSopenharmony_ci   * @param { number } damping -Value range (0, +∞). Note: If the value is less than or equal to 0, 1 is used.
61761847f8eSopenharmony_ci   * @returns { ICurve }
61861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
61961847f8eSopenharmony_ci   * @crossplatform
62061847f8eSopenharmony_ci   * @atomicservice
62161847f8eSopenharmony_ci   * @since 11
62261847f8eSopenharmony_ci   */
62361847f8eSopenharmony_ci  function springCurve(velocity: number, mass: number, stiffness: number, damping: number): ICurve;
62461847f8eSopenharmony_ci
62561847f8eSopenharmony_ci  /**
62661847f8eSopenharmony_ci   * Constructs a spring curve when called.
62761847f8eSopenharmony_ci   *
62861847f8eSopenharmony_ci   * @param { number } velocity -Initial velocity. An influence parameter of external factors on elastic dynamics,
62961847f8eSopenharmony_ci   * purpose is to ensure a smooth transition of the object from the previous state of motion to the elastic dynamics.
63061847f8eSopenharmony_ci   * @param { number } mass -Quality. The force object of the elastic system will have an inertial effect on elastic
63161847f8eSopenharmony_ci   * system. The greater the mass, the greater the amplitude of the oscillation.
63261847f8eSopenharmony_ci   * @param { number } stiffness -The degree to which an object is deformed by resisting the applied force.
63361847f8eSopenharmony_ci   * @param { number } damping -Pure number, Used to describe oscillation and decay of a system after being disturbed.
63461847f8eSopenharmony_ci   * @returns { string }
63561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63661847f8eSopenharmony_ci   * @since 7
63761847f8eSopenharmony_ci   * @deprecated since 9
63861847f8eSopenharmony_ci   * @useinstead springCurve
63961847f8eSopenharmony_ci   */
64061847f8eSopenharmony_ci  function spring(velocity: number, mass: number, stiffness: number, damping: number): string;
64161847f8eSopenharmony_ci
64261847f8eSopenharmony_ci  /**
64361847f8eSopenharmony_ci   * Constructs a spring motion when called.
64461847f8eSopenharmony_ci   *
64561847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.55. Unit: seconds. Value range: (0, +∞).
64661847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.55 is used.
64761847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.825. Unit: seconds. Value range: [0, +∞).
64861847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.825 is used.
64961847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0. Unit: seconds. Value range: [0, +∞).
65061847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0 is used.
65161847f8eSopenharmony_ci   * @returns { ICurve }
65261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
65361847f8eSopenharmony_ci   * @since 9
65461847f8eSopenharmony_ci   */
65561847f8eSopenharmony_ci  /**
65661847f8eSopenharmony_ci   * Constructs a spring motion when called.
65761847f8eSopenharmony_ci   *
65861847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.55. Unit: seconds. Value range: (0, +∞).
65961847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.55 is used.
66061847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.825. Unit: seconds. Value range: [0, +∞).
66161847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.825 is used.
66261847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0. Unit: seconds. Value range: [0, +∞).
66361847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0 is used.
66461847f8eSopenharmony_ci   * @returns { ICurve }
66561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66661847f8eSopenharmony_ci   * @crossplatform
66761847f8eSopenharmony_ci   * @since 10
66861847f8eSopenharmony_ci   */
66961847f8eSopenharmony_ci  /**
67061847f8eSopenharmony_ci   * Constructs a spring motion when called.
67161847f8eSopenharmony_ci   *
67261847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.55. Unit: seconds. Value range: (0, +∞).
67361847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.55 is used.
67461847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.825. Unit: seconds. Value range: [0, +∞).
67561847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.825 is used.
67661847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0. Unit: seconds. Value range: [0, +∞).
67761847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0 is used.
67861847f8eSopenharmony_ci   * @returns { ICurve }
67961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
68061847f8eSopenharmony_ci   * @crossplatform
68161847f8eSopenharmony_ci   * @atomicservice
68261847f8eSopenharmony_ci   * @since 11
68361847f8eSopenharmony_ci   */
68461847f8eSopenharmony_ci  function springMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve;
68561847f8eSopenharmony_ci
68661847f8eSopenharmony_ci  /**
68761847f8eSopenharmony_ci   * Constructs a responsive spring motion when called.
68861847f8eSopenharmony_ci   *
68961847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.15. Unit: seconds. Value range: (0, +∞).
69061847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.15 is used.
69161847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.86. Unit: seconds. Value range: [0, +∞).
69261847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.86 is used.
69361847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0.25. Unit: seconds. Value range: [0, +∞).
69461847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.25 is used.
69561847f8eSopenharmony_ci   * @returns { ICurve }
69661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
69761847f8eSopenharmony_ci   * @since 9
69861847f8eSopenharmony_ci   */
69961847f8eSopenharmony_ci  /**
70061847f8eSopenharmony_ci   * Constructs a responsive spring motion when called.
70161847f8eSopenharmony_ci   *
70261847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.15. Unit: seconds. Value range: (0, +∞).
70361847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.15 is used.
70461847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.86. Unit: seconds. Value range: [0, +∞).
70561847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.86 is used.
70661847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0.25. Unit: seconds. Value range: [0, +∞).
70761847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.25 is used.
70861847f8eSopenharmony_ci   * @returns { ICurve }
70961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
71061847f8eSopenharmony_ci   * @crossplatform
71161847f8eSopenharmony_ci   * @since 10
71261847f8eSopenharmony_ci   */
71361847f8eSopenharmony_ci  /**
71461847f8eSopenharmony_ci   * Constructs a responsive spring motion when called.
71561847f8eSopenharmony_ci   * The parameters are interpreted as in springMotion.
71661847f8eSopenharmony_ci   *
71761847f8eSopenharmony_ci   * @param { number } [response] The default value is 0.15. Unit: seconds. Value range: (0, +∞).
71861847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.15 is used.
71961847f8eSopenharmony_ci   * @param { number } [dampingFraction] The default value is 0.86. Unit: seconds. Value range: [0, +∞).
72061847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.86 is used.
72161847f8eSopenharmony_ci   * @param { number } [overlapDuration] The default value is 0.25. Unit: seconds. Value range: [0, +∞).
72261847f8eSopenharmony_ci   * Note: If a value is set to 0 or less, the default value of 0.25 is used.
72361847f8eSopenharmony_ci   * @returns { ICurve }
72461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
72561847f8eSopenharmony_ci   * @crossplatform
72661847f8eSopenharmony_ci   * @atomicservice
72761847f8eSopenharmony_ci   * @since 11
72861847f8eSopenharmony_ci   */
72961847f8eSopenharmony_ci  function responsiveSpringMotion(response?: number, dampingFraction?: number, overlapDuration?: number): ICurve;
73061847f8eSopenharmony_ci
73161847f8eSopenharmony_ci  /**
73261847f8eSopenharmony_ci   * Constructs an interpolating spring curve when called, the animation duration can not be specified manually,
73361847f8eSopenharmony_ci   * and is determined by parameters of the curve. It produces values change from 0 to 1, and then uses interpolator
73461847f8eSopenharmony_ci   * to calculate the actual animation values.
73561847f8eSopenharmony_ci   *
73661847f8eSopenharmony_ci   * @param { number } velocity - the initial velocity of the spring, and is a normalized speed corresponding to the
73761847f8eSopenharmony_ci   * value changes from 0 to 1,specific value range (-∞, ∞).
73861847f8eSopenharmony_ci   * @param { number } mass - the mass of object in the mass-damper-spring system, value range (0, +∞).
73961847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
74061847f8eSopenharmony_ci   * @param { number } stiffness - the stiffness of spring, value range (0, +∞).
74161847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
74261847f8eSopenharmony_ci   * @param { number } damping - the damping value of spring, value range (0, +∞).
74361847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
74461847f8eSopenharmony_ci   * @returns { ICurve }
74561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
74661847f8eSopenharmony_ci   * @crossplatform
74761847f8eSopenharmony_ci   * @since 10
74861847f8eSopenharmony_ci   */
74961847f8eSopenharmony_ci  /**
75061847f8eSopenharmony_ci   * Constructs an interpolating spring curve when called, the animation duration can not be specified manually,
75161847f8eSopenharmony_ci   * and is determined by parameters of the curve. It produces values change from 0 to 1, and then uses interpolator
75261847f8eSopenharmony_ci   * to calculate the actual animation values.
75361847f8eSopenharmony_ci   *
75461847f8eSopenharmony_ci   * @param { number } velocity - the initial velocity of the spring, and is a normalized speed corresponding to the
75561847f8eSopenharmony_ci   * value changes from 0 to 1,specific value range (-∞, ∞).
75661847f8eSopenharmony_ci   * @param { number } mass - the mass of object in the mass-damper-spring system, value range (0, +∞).
75761847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
75861847f8eSopenharmony_ci   * @param { number } stiffness - the stiffness of spring, value range (0, +∞).
75961847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
76061847f8eSopenharmony_ci   * @param { number } damping - the damping value of spring, value range (0, +∞).
76161847f8eSopenharmony_ci   * Note: If the value is less than or equal to 0, the value 1 is used.
76261847f8eSopenharmony_ci   * @returns { ICurve }
76361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
76461847f8eSopenharmony_ci   * @crossplatform
76561847f8eSopenharmony_ci   * @atomicservice
76661847f8eSopenharmony_ci   * @since 11
76761847f8eSopenharmony_ci   */
76861847f8eSopenharmony_ci  function interpolatingSpring(velocity: number, mass: number, stiffness: number, damping: number): ICurve;
76961847f8eSopenharmony_ci}
77061847f8eSopenharmony_ci
77161847f8eSopenharmony_ciexport default curves;
772