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 * Defines the ImageAnimator Interface.
2361847f8eSopenharmony_ci *
2461847f8eSopenharmony_ci * @interface ImageAnimatorInterface
2561847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
2661847f8eSopenharmony_ci * @since 7
2761847f8eSopenharmony_ci */
2861847f8eSopenharmony_ci/**
2961847f8eSopenharmony_ci * Defines the ImageAnimator Interface.
3061847f8eSopenharmony_ci *
3161847f8eSopenharmony_ci * @interface ImageAnimatorInterface
3261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
3361847f8eSopenharmony_ci * @crossplatform
3461847f8eSopenharmony_ci * @form
3561847f8eSopenharmony_ci * @since 10
3661847f8eSopenharmony_ci */
3761847f8eSopenharmony_ci/**
3861847f8eSopenharmony_ci * Defines the ImageAnimator Interface.
3961847f8eSopenharmony_ci *
4061847f8eSopenharmony_ci * @interface ImageAnimatorInterface
4161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
4261847f8eSopenharmony_ci * @crossplatform
4361847f8eSopenharmony_ci * @form
4461847f8eSopenharmony_ci * @atomicservice
4561847f8eSopenharmony_ci * @since 11
4661847f8eSopenharmony_ci */
4761847f8eSopenharmony_ciinterface ImageAnimatorInterface {
4861847f8eSopenharmony_ci  /**
4961847f8eSopenharmony_ci   * ImageAnimator is returned.
5061847f8eSopenharmony_ci   *
5161847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
5261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
5361847f8eSopenharmony_ci   * @since 7
5461847f8eSopenharmony_ci   */
5561847f8eSopenharmony_ci  /**
5661847f8eSopenharmony_ci   * ImageAnimator is returned.
5761847f8eSopenharmony_ci   *
5861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
5961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6061847f8eSopenharmony_ci   * @crossplatform
6161847f8eSopenharmony_ci   * @form
6261847f8eSopenharmony_ci   * @since 10
6361847f8eSopenharmony_ci   */
6461847f8eSopenharmony_ci  /**
6561847f8eSopenharmony_ci   * ImageAnimator is returned.
6661847f8eSopenharmony_ci   *
6761847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
6861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
6961847f8eSopenharmony_ci   * @crossplatform
7061847f8eSopenharmony_ci   * @form
7161847f8eSopenharmony_ci   * @atomicservice
7261847f8eSopenharmony_ci   * @since 11
7361847f8eSopenharmony_ci   */
7461847f8eSopenharmony_ci  (): ImageAnimatorAttribute;
7561847f8eSopenharmony_ci}
7661847f8eSopenharmony_ci
7761847f8eSopenharmony_ci/**
7861847f8eSopenharmony_ci * Defines the ImageFrameInfo Interface.
7961847f8eSopenharmony_ci *
8061847f8eSopenharmony_ci * @interface ImageFrameInfo
8161847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
8261847f8eSopenharmony_ci * @since 7
8361847f8eSopenharmony_ci */
8461847f8eSopenharmony_ci/**
8561847f8eSopenharmony_ci * Defines the ImageFrameInfo Interface.
8661847f8eSopenharmony_ci *
8761847f8eSopenharmony_ci * @interface ImageFrameInfo
8861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
8961847f8eSopenharmony_ci * @crossplatform
9061847f8eSopenharmony_ci * @form
9161847f8eSopenharmony_ci * @since 10
9261847f8eSopenharmony_ci */
9361847f8eSopenharmony_ci/**
9461847f8eSopenharmony_ci * Defines the ImageFrameInfo Interface.
9561847f8eSopenharmony_ci *
9661847f8eSopenharmony_ci * @interface ImageFrameInfo
9761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
9861847f8eSopenharmony_ci * @crossplatform
9961847f8eSopenharmony_ci * @form
10061847f8eSopenharmony_ci * @atomicservice
10161847f8eSopenharmony_ci * @since 11
10261847f8eSopenharmony_ci */
10361847f8eSopenharmony_ciinterface ImageFrameInfo {
10461847f8eSopenharmony_ci  /**
10561847f8eSopenharmony_ci   * Image path
10661847f8eSopenharmony_ci   *
10761847f8eSopenharmony_ci   * @type { string }
10861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
10961847f8eSopenharmony_ci   * @since 7
11061847f8eSopenharmony_ci   */
11161847f8eSopenharmony_ci  /**
11261847f8eSopenharmony_ci   * Image path
11361847f8eSopenharmony_ci   *
11461847f8eSopenharmony_ci   * @type { string | Resource }
11561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
11661847f8eSopenharmony_ci   * @since 9
11761847f8eSopenharmony_ci   */
11861847f8eSopenharmony_ci  /**
11961847f8eSopenharmony_ci   * Image path
12061847f8eSopenharmony_ci   *
12161847f8eSopenharmony_ci   * @type { string | Resource }
12261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
12361847f8eSopenharmony_ci   * @crossplatform
12461847f8eSopenharmony_ci   * @form
12561847f8eSopenharmony_ci   * @since 10
12661847f8eSopenharmony_ci   */
12761847f8eSopenharmony_ci  /**
12861847f8eSopenharmony_ci   * Image path
12961847f8eSopenharmony_ci   *
13061847f8eSopenharmony_ci   * @type { string | Resource }
13161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
13261847f8eSopenharmony_ci   * @crossplatform
13361847f8eSopenharmony_ci   * @form
13461847f8eSopenharmony_ci   * @atomicservice
13561847f8eSopenharmony_ci   * @since 11
13661847f8eSopenharmony_ci   */
13761847f8eSopenharmony_ci  /**
13861847f8eSopenharmony_ci   * Image path
13961847f8eSopenharmony_ci   *
14061847f8eSopenharmony_ci   * @type { string | Resource | PixelMap }
14161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
14261847f8eSopenharmony_ci   * @crossplatform
14361847f8eSopenharmony_ci   * @form
14461847f8eSopenharmony_ci   * @atomicservice
14561847f8eSopenharmony_ci   * @since 12
14661847f8eSopenharmony_ci   */
14761847f8eSopenharmony_ci  src: string | Resource | PixelMap;
14861847f8eSopenharmony_ci  /**
14961847f8eSopenharmony_ci   * Image width
15061847f8eSopenharmony_ci   *
15161847f8eSopenharmony_ci   * @type { ?(number | string) }
15261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
15361847f8eSopenharmony_ci   * @since 7
15461847f8eSopenharmony_ci   */
15561847f8eSopenharmony_ci  /**
15661847f8eSopenharmony_ci   * Image width
15761847f8eSopenharmony_ci   *
15861847f8eSopenharmony_ci   * @type { ?(number | string) }
15961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16061847f8eSopenharmony_ci   * @crossplatform
16161847f8eSopenharmony_ci   * @form
16261847f8eSopenharmony_ci   * @since 10
16361847f8eSopenharmony_ci   */
16461847f8eSopenharmony_ci  /**
16561847f8eSopenharmony_ci   * Image width
16661847f8eSopenharmony_ci   *
16761847f8eSopenharmony_ci   * @type { ?(number | string) }
16861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
16961847f8eSopenharmony_ci   * @crossplatform
17061847f8eSopenharmony_ci   * @form
17161847f8eSopenharmony_ci   * @atomicservice
17261847f8eSopenharmony_ci   * @since 11
17361847f8eSopenharmony_ci   */
17461847f8eSopenharmony_ci  width?: number | string;
17561847f8eSopenharmony_ci  /**
17661847f8eSopenharmony_ci   * Image height
17761847f8eSopenharmony_ci   *
17861847f8eSopenharmony_ci   * @type { ?(number | string) }
17961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18061847f8eSopenharmony_ci   * @since 7
18161847f8eSopenharmony_ci   */
18261847f8eSopenharmony_ci  /**
18361847f8eSopenharmony_ci   * Image height
18461847f8eSopenharmony_ci   *
18561847f8eSopenharmony_ci   * @type { ?(number | string) }
18661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
18761847f8eSopenharmony_ci   * @crossplatform
18861847f8eSopenharmony_ci   * @form
18961847f8eSopenharmony_ci   * @since 10
19061847f8eSopenharmony_ci   */
19161847f8eSopenharmony_ci  /**
19261847f8eSopenharmony_ci   * Image height
19361847f8eSopenharmony_ci   *
19461847f8eSopenharmony_ci   * @type { ?(number | string) }
19561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
19661847f8eSopenharmony_ci   * @crossplatform
19761847f8eSopenharmony_ci   * @form
19861847f8eSopenharmony_ci   * @atomicservice
19961847f8eSopenharmony_ci   * @since 11
20061847f8eSopenharmony_ci   */
20161847f8eSopenharmony_ci  height?: number | string;
20261847f8eSopenharmony_ci  /**
20361847f8eSopenharmony_ci   * Vertical coordinate of the image relative to the upper left corner of the component
20461847f8eSopenharmony_ci   *
20561847f8eSopenharmony_ci   * @type { ?(number | string) }
20661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
20761847f8eSopenharmony_ci   * @since 7
20861847f8eSopenharmony_ci   */
20961847f8eSopenharmony_ci  /**
21061847f8eSopenharmony_ci   * Vertical coordinate of the image relative to the upper left corner of the component
21161847f8eSopenharmony_ci   *
21261847f8eSopenharmony_ci   * @type { ?(number | string) }
21361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
21461847f8eSopenharmony_ci   * @crossplatform
21561847f8eSopenharmony_ci   * @form
21661847f8eSopenharmony_ci   * @since 10
21761847f8eSopenharmony_ci   */
21861847f8eSopenharmony_ci  /**
21961847f8eSopenharmony_ci   * Vertical coordinate of the image relative to the upper left corner of the component
22061847f8eSopenharmony_ci   *
22161847f8eSopenharmony_ci   * @type { ?(number | string) }
22261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
22361847f8eSopenharmony_ci   * @crossplatform
22461847f8eSopenharmony_ci   * @form
22561847f8eSopenharmony_ci   * @atomicservice
22661847f8eSopenharmony_ci   * @since 11
22761847f8eSopenharmony_ci   */
22861847f8eSopenharmony_ci  top?: number | string;
22961847f8eSopenharmony_ci  /**
23061847f8eSopenharmony_ci   * Horizontal coordinate of the image relative to the upper left corner of the component
23161847f8eSopenharmony_ci   *
23261847f8eSopenharmony_ci   * @type { ?(number | string) }
23361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
23461847f8eSopenharmony_ci   * @since 7
23561847f8eSopenharmony_ci   */
23661847f8eSopenharmony_ci  /**
23761847f8eSopenharmony_ci   * Horizontal coordinate of the image relative to the upper left corner of the component
23861847f8eSopenharmony_ci   *
23961847f8eSopenharmony_ci   * @type { ?(number | string) }
24061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
24161847f8eSopenharmony_ci   * @crossplatform
24261847f8eSopenharmony_ci   * @form
24361847f8eSopenharmony_ci   * @since 10
24461847f8eSopenharmony_ci   */
24561847f8eSopenharmony_ci  /**
24661847f8eSopenharmony_ci   * Horizontal coordinate of the image relative to the upper left corner of the component
24761847f8eSopenharmony_ci   *
24861847f8eSopenharmony_ci   * @type { ?(number | string) }
24961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
25061847f8eSopenharmony_ci   * @crossplatform
25161847f8eSopenharmony_ci   * @form
25261847f8eSopenharmony_ci   * @atomicservice
25361847f8eSopenharmony_ci   * @since 11
25461847f8eSopenharmony_ci   */
25561847f8eSopenharmony_ci  left?: number | string;
25661847f8eSopenharmony_ci  /**
25761847f8eSopenharmony_ci   * Playback duration of this image frame, in milliseconds.
25861847f8eSopenharmony_ci   *
25961847f8eSopenharmony_ci   * @type { ?number }
26061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26161847f8eSopenharmony_ci   * @since 7
26261847f8eSopenharmony_ci   */
26361847f8eSopenharmony_ci  /**
26461847f8eSopenharmony_ci   * Playback duration of this image frame, in milliseconds.
26561847f8eSopenharmony_ci   *
26661847f8eSopenharmony_ci   * @type { ?number }
26761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
26861847f8eSopenharmony_ci   * @crossplatform
26961847f8eSopenharmony_ci   * @since 10
27061847f8eSopenharmony_ci   */
27161847f8eSopenharmony_ci  /**
27261847f8eSopenharmony_ci   * Playback duration of this image frame, in milliseconds.
27361847f8eSopenharmony_ci   *
27461847f8eSopenharmony_ci   * @type { ?number }
27561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
27661847f8eSopenharmony_ci   * @crossplatform
27761847f8eSopenharmony_ci   * @atomicservice
27861847f8eSopenharmony_ci   * @since 11
27961847f8eSopenharmony_ci   */
28061847f8eSopenharmony_ci  duration?: number;
28161847f8eSopenharmony_ci}
28261847f8eSopenharmony_ci
28361847f8eSopenharmony_ci/**
28461847f8eSopenharmony_ci * inheritance CommonMethod
28561847f8eSopenharmony_ci *
28661847f8eSopenharmony_ci * @extends CommonMethod<ImageAnimatorAttribute>
28761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
28861847f8eSopenharmony_ci * @since 7
28961847f8eSopenharmony_ci */
29061847f8eSopenharmony_ci/**
29161847f8eSopenharmony_ci * inheritance CommonMethod
29261847f8eSopenharmony_ci *
29361847f8eSopenharmony_ci * @extends CommonMethod<ImageAnimatorAttribute>
29461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
29561847f8eSopenharmony_ci * @crossplatform
29661847f8eSopenharmony_ci * @form
29761847f8eSopenharmony_ci * @since 10
29861847f8eSopenharmony_ci */
29961847f8eSopenharmony_ci/**
30061847f8eSopenharmony_ci * inheritance CommonMethod
30161847f8eSopenharmony_ci *
30261847f8eSopenharmony_ci * @extends CommonMethod<ImageAnimatorAttribute>
30361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
30461847f8eSopenharmony_ci * @crossplatform
30561847f8eSopenharmony_ci * @form
30661847f8eSopenharmony_ci * @atomicservice
30761847f8eSopenharmony_ci * @since 11
30861847f8eSopenharmony_ci */
30961847f8eSopenharmony_cideclare class ImageAnimatorAttribute extends CommonMethod<ImageAnimatorAttribute> {
31061847f8eSopenharmony_ci  /**
31161847f8eSopenharmony_ci   * list images
31261847f8eSopenharmony_ci   *
31361847f8eSopenharmony_ci   * @param { Array<ImageFrameInfo> } value
31461847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
31561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
31661847f8eSopenharmony_ci   * @since 7
31761847f8eSopenharmony_ci   */
31861847f8eSopenharmony_ci  /**
31961847f8eSopenharmony_ci   * list images
32061847f8eSopenharmony_ci   *
32161847f8eSopenharmony_ci   * @param { Array<ImageFrameInfo> } value
32261847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
32361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
32461847f8eSopenharmony_ci   * @crossplatform
32561847f8eSopenharmony_ci   * @form
32661847f8eSopenharmony_ci   * @since 10
32761847f8eSopenharmony_ci   */
32861847f8eSopenharmony_ci  /**
32961847f8eSopenharmony_ci   * list images
33061847f8eSopenharmony_ci   *
33161847f8eSopenharmony_ci   * @param { Array<ImageFrameInfo> } value
33261847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
33361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
33461847f8eSopenharmony_ci   * @crossplatform
33561847f8eSopenharmony_ci   * @form
33661847f8eSopenharmony_ci   * @atomicservice
33761847f8eSopenharmony_ci   * @since 11
33861847f8eSopenharmony_ci   */
33961847f8eSopenharmony_ci  images(value: Array<ImageFrameInfo>): ImageAnimatorAttribute;
34061847f8eSopenharmony_ci
34161847f8eSopenharmony_ci  /**
34261847f8eSopenharmony_ci   * The default value is the initial state, which is used to control the playback status.
34361847f8eSopenharmony_ci   *
34461847f8eSopenharmony_ci   * @param { AnimationStatus } value
34561847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
34661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
34761847f8eSopenharmony_ci   * @since 7
34861847f8eSopenharmony_ci   */
34961847f8eSopenharmony_ci  /**
35061847f8eSopenharmony_ci   * The default value is the initial state, which is used to control the playback status.
35161847f8eSopenharmony_ci   *
35261847f8eSopenharmony_ci   * @param { AnimationStatus } value
35361847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
35461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
35561847f8eSopenharmony_ci   * @crossplatform
35661847f8eSopenharmony_ci   * @form
35761847f8eSopenharmony_ci   * @since 10
35861847f8eSopenharmony_ci   */
35961847f8eSopenharmony_ci  /**
36061847f8eSopenharmony_ci   * The default value is the initial state, which is used to control the playback status.
36161847f8eSopenharmony_ci   *
36261847f8eSopenharmony_ci   * @param { AnimationStatus } value
36361847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
36461847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
36561847f8eSopenharmony_ci   * @crossplatform
36661847f8eSopenharmony_ci   * @form
36761847f8eSopenharmony_ci   * @atomicservice
36861847f8eSopenharmony_ci   * @since 11
36961847f8eSopenharmony_ci   */
37061847f8eSopenharmony_ci  state(value: AnimationStatus): ImageAnimatorAttribute;
37161847f8eSopenharmony_ci
37261847f8eSopenharmony_ci  /**
37361847f8eSopenharmony_ci   * The unit is millisecond.
37461847f8eSopenharmony_ci   *
37561847f8eSopenharmony_ci   * @param { number } value
37661847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
37761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
37861847f8eSopenharmony_ci   * @since 7
37961847f8eSopenharmony_ci   */
38061847f8eSopenharmony_ci  /**
38161847f8eSopenharmony_ci   * The unit is millisecond.
38261847f8eSopenharmony_ci   *
38361847f8eSopenharmony_ci   * @param { number } value
38461847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
38561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
38661847f8eSopenharmony_ci   * @crossplatform
38761847f8eSopenharmony_ci   * @form
38861847f8eSopenharmony_ci   * @since 10
38961847f8eSopenharmony_ci   */
39061847f8eSopenharmony_ci  /**
39161847f8eSopenharmony_ci   * The unit is millisecond.
39261847f8eSopenharmony_ci   *
39361847f8eSopenharmony_ci   * @param { number } value
39461847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
39561847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
39661847f8eSopenharmony_ci   * @crossplatform
39761847f8eSopenharmony_ci   * @form
39861847f8eSopenharmony_ci   * @atomicservice
39961847f8eSopenharmony_ci   * @since 11
40061847f8eSopenharmony_ci   */
40161847f8eSopenharmony_ci  duration(value: number): ImageAnimatorAttribute;
40261847f8eSopenharmony_ci
40361847f8eSopenharmony_ci  /**
40461847f8eSopenharmony_ci   * Set the playback sequence.
40561847f8eSopenharmony_ci   *
40661847f8eSopenharmony_ci   * @param { boolean } value
40761847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
40861847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
40961847f8eSopenharmony_ci   * @since 7
41061847f8eSopenharmony_ci   */
41161847f8eSopenharmony_ci  /**
41261847f8eSopenharmony_ci   * Set the playback sequence.
41361847f8eSopenharmony_ci   *
41461847f8eSopenharmony_ci   * @param { boolean } value
41561847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
41661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
41761847f8eSopenharmony_ci   * @crossplatform
41861847f8eSopenharmony_ci   * @form
41961847f8eSopenharmony_ci   * @since 10
42061847f8eSopenharmony_ci   */
42161847f8eSopenharmony_ci  /**
42261847f8eSopenharmony_ci   * Set the playback sequence.
42361847f8eSopenharmony_ci   *
42461847f8eSopenharmony_ci   * @param { boolean } value
42561847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
42661847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
42761847f8eSopenharmony_ci   * @crossplatform
42861847f8eSopenharmony_ci   * @form
42961847f8eSopenharmony_ci   * @atomicservice
43061847f8eSopenharmony_ci   * @since 11
43161847f8eSopenharmony_ci   */
43261847f8eSopenharmony_ci  reverse(value: boolean): ImageAnimatorAttribute;
43361847f8eSopenharmony_ci
43461847f8eSopenharmony_ci  /**
43561847f8eSopenharmony_ci   * Sets whether the image size is fixed to the component size.
43661847f8eSopenharmony_ci   *
43761847f8eSopenharmony_ci   * @param { boolean } value
43861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
43961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44061847f8eSopenharmony_ci   * @since 7
44161847f8eSopenharmony_ci   */
44261847f8eSopenharmony_ci  /**
44361847f8eSopenharmony_ci   * Sets whether the image size is fixed to the component size.
44461847f8eSopenharmony_ci   *
44561847f8eSopenharmony_ci   * @param { boolean } value
44661847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
44761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
44861847f8eSopenharmony_ci   * @crossplatform
44961847f8eSopenharmony_ci   * @form
45061847f8eSopenharmony_ci   * @since 10
45161847f8eSopenharmony_ci   */
45261847f8eSopenharmony_ci  /**
45361847f8eSopenharmony_ci   * Sets whether the image size is fixed to the component size.
45461847f8eSopenharmony_ci   *
45561847f8eSopenharmony_ci   * @param { boolean } value
45661847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
45761847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
45861847f8eSopenharmony_ci   * @crossplatform
45961847f8eSopenharmony_ci   * @form
46061847f8eSopenharmony_ci   * @atomicservice
46161847f8eSopenharmony_ci   * @since 11
46261847f8eSopenharmony_ci   */
46361847f8eSopenharmony_ci  fixedSize(value: boolean): ImageAnimatorAttribute;
46461847f8eSopenharmony_ci
46561847f8eSopenharmony_ci  /**
46661847f8eSopenharmony_ci   * Indicates whether to enable pre-decoding.
46761847f8eSopenharmony_ci   *
46861847f8eSopenharmony_ci   * @param { number } value
46961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
47061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
47161847f8eSopenharmony_ci   * @since 7
47261847f8eSopenharmony_ci   * @deprecated since 9
47361847f8eSopenharmony_ci   */
47461847f8eSopenharmony_ci  preDecode(value: number): ImageAnimatorAttribute;
47561847f8eSopenharmony_ci
47661847f8eSopenharmony_ci  /**
47761847f8eSopenharmony_ci   * Sets the state before and after the animation starts
47861847f8eSopenharmony_ci   *
47961847f8eSopenharmony_ci   * @param { FillMode } value
48061847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
48161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
48261847f8eSopenharmony_ci   * @since 7
48361847f8eSopenharmony_ci   */
48461847f8eSopenharmony_ci  /**
48561847f8eSopenharmony_ci   * Sets the state before and after the animation starts
48661847f8eSopenharmony_ci   *
48761847f8eSopenharmony_ci   * @param { FillMode } value
48861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
48961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
49061847f8eSopenharmony_ci   * @crossplatform
49161847f8eSopenharmony_ci   * @form
49261847f8eSopenharmony_ci   * @since 10
49361847f8eSopenharmony_ci   */
49461847f8eSopenharmony_ci  /**
49561847f8eSopenharmony_ci   * Sets the state before and after the animation starts
49661847f8eSopenharmony_ci   *
49761847f8eSopenharmony_ci   * @param { FillMode } value
49861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
49961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
50061847f8eSopenharmony_ci   * @crossplatform
50161847f8eSopenharmony_ci   * @form
50261847f8eSopenharmony_ci   * @atomicservice
50361847f8eSopenharmony_ci   * @since 11
50461847f8eSopenharmony_ci   */
50561847f8eSopenharmony_ci  fillMode(value: FillMode): ImageAnimatorAttribute;
50661847f8eSopenharmony_ci
50761847f8eSopenharmony_ci  /**
50861847f8eSopenharmony_ci   * Played once by default
50961847f8eSopenharmony_ci   *
51061847f8eSopenharmony_ci   * @param { number } value
51161847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
51261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
51361847f8eSopenharmony_ci   * @since 7
51461847f8eSopenharmony_ci   */
51561847f8eSopenharmony_ci  /**
51661847f8eSopenharmony_ci   * Played once by default
51761847f8eSopenharmony_ci   *
51861847f8eSopenharmony_ci   * @param { number } value
51961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
52061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
52161847f8eSopenharmony_ci   * @crossplatform
52261847f8eSopenharmony_ci   * @since 10
52361847f8eSopenharmony_ci   */
52461847f8eSopenharmony_ci  /**
52561847f8eSopenharmony_ci   * Played once by default
52661847f8eSopenharmony_ci   *
52761847f8eSopenharmony_ci   * @param { number } value
52861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
52961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
53061847f8eSopenharmony_ci   * @crossplatform
53161847f8eSopenharmony_ci   * @atomicservice
53261847f8eSopenharmony_ci   * @since 11
53361847f8eSopenharmony_ci   */
53461847f8eSopenharmony_ci  iterations(value: number): ImageAnimatorAttribute;
53561847f8eSopenharmony_ci
53661847f8eSopenharmony_ci  /**
53761847f8eSopenharmony_ci   * Status callback, which is triggered when the animation starts to play.
53861847f8eSopenharmony_ci   *
53961847f8eSopenharmony_ci   * @param { function } event
54061847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
54161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
54261847f8eSopenharmony_ci   * @since 7
54361847f8eSopenharmony_ci   */
54461847f8eSopenharmony_ci  /**
54561847f8eSopenharmony_ci   * Status callback, which is triggered when the animation starts to play.
54661847f8eSopenharmony_ci   *
54761847f8eSopenharmony_ci   * @param { function } event
54861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
54961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
55061847f8eSopenharmony_ci   * @crossplatform
55161847f8eSopenharmony_ci   * @form
55261847f8eSopenharmony_ci   * @since 10
55361847f8eSopenharmony_ci   */
55461847f8eSopenharmony_ci  /**
55561847f8eSopenharmony_ci   * Status callback, which is triggered when the animation starts to play.
55661847f8eSopenharmony_ci   *
55761847f8eSopenharmony_ci   * @param { function } event
55861847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
55961847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
56061847f8eSopenharmony_ci   * @crossplatform
56161847f8eSopenharmony_ci   * @form
56261847f8eSopenharmony_ci   * @atomicservice
56361847f8eSopenharmony_ci   * @since 11
56461847f8eSopenharmony_ci   */
56561847f8eSopenharmony_ci  onStart(event: () => void): ImageAnimatorAttribute;
56661847f8eSopenharmony_ci
56761847f8eSopenharmony_ci  /**
56861847f8eSopenharmony_ci   * Status callback, which is triggered when the animation pauses.
56961847f8eSopenharmony_ci   *
57061847f8eSopenharmony_ci   * @param { function } event
57161847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
57261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
57361847f8eSopenharmony_ci   * @since 7
57461847f8eSopenharmony_ci   */
57561847f8eSopenharmony_ci  /**
57661847f8eSopenharmony_ci   * Status callback, which is triggered when the animation pauses.
57761847f8eSopenharmony_ci   *
57861847f8eSopenharmony_ci   * @param { function } event
57961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
58061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
58161847f8eSopenharmony_ci   * @crossplatform
58261847f8eSopenharmony_ci   * @form
58361847f8eSopenharmony_ci   * @since 10
58461847f8eSopenharmony_ci   */
58561847f8eSopenharmony_ci  /**
58661847f8eSopenharmony_ci   * Status callback, which is triggered when the animation pauses.
58761847f8eSopenharmony_ci   *
58861847f8eSopenharmony_ci   * @param { function } event
58961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
59061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
59161847f8eSopenharmony_ci   * @crossplatform
59261847f8eSopenharmony_ci   * @form
59361847f8eSopenharmony_ci   * @atomicservice
59461847f8eSopenharmony_ci   * @since 11
59561847f8eSopenharmony_ci   */
59661847f8eSopenharmony_ci  onPause(event: () => void): ImageAnimatorAttribute;
59761847f8eSopenharmony_ci
59861847f8eSopenharmony_ci  /**
59961847f8eSopenharmony_ci   * Status callback, triggered when the animation is replayed
60061847f8eSopenharmony_ci   *
60161847f8eSopenharmony_ci   * @param { function } event
60261847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
60361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
60461847f8eSopenharmony_ci   * @since 7
60561847f8eSopenharmony_ci   */
60661847f8eSopenharmony_ci  /**
60761847f8eSopenharmony_ci   * Status callback, triggered when the animation is replayed
60861847f8eSopenharmony_ci   *
60961847f8eSopenharmony_ci   * @param { function } event
61061847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
61161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
61261847f8eSopenharmony_ci   * @crossplatform
61361847f8eSopenharmony_ci   * @since 10
61461847f8eSopenharmony_ci   */
61561847f8eSopenharmony_ci  /**
61661847f8eSopenharmony_ci   * Status callback, triggered when the animation is replayed
61761847f8eSopenharmony_ci   *
61861847f8eSopenharmony_ci   * @param { function } event
61961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
62061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
62161847f8eSopenharmony_ci   * @crossplatform
62261847f8eSopenharmony_ci   * @atomicservice
62361847f8eSopenharmony_ci   * @since 11
62461847f8eSopenharmony_ci   */
62561847f8eSopenharmony_ci  onRepeat(event: () => void): ImageAnimatorAttribute;
62661847f8eSopenharmony_ci
62761847f8eSopenharmony_ci  /**
62861847f8eSopenharmony_ci   * Status callback, which is triggered when the animation is canceled.
62961847f8eSopenharmony_ci   *
63061847f8eSopenharmony_ci   * @param { function } event
63161847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
63261847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
63361847f8eSopenharmony_ci   * @since 7
63461847f8eSopenharmony_ci   */
63561847f8eSopenharmony_ci  /**
63661847f8eSopenharmony_ci   * Status callback, which is triggered when the animation is canceled.
63761847f8eSopenharmony_ci   *
63861847f8eSopenharmony_ci   * @param { function } event
63961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
64061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
64161847f8eSopenharmony_ci   * @crossplatform
64261847f8eSopenharmony_ci   * @form
64361847f8eSopenharmony_ci   * @since 10
64461847f8eSopenharmony_ci   */
64561847f8eSopenharmony_ci  /**
64661847f8eSopenharmony_ci   * Status callback, which is triggered when the animation is canceled.
64761847f8eSopenharmony_ci   *
64861847f8eSopenharmony_ci   * @param { function } event
64961847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
65061847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
65161847f8eSopenharmony_ci   * @crossplatform
65261847f8eSopenharmony_ci   * @form
65361847f8eSopenharmony_ci   * @atomicservice
65461847f8eSopenharmony_ci   * @since 11
65561847f8eSopenharmony_ci   */
65661847f8eSopenharmony_ci  onCancel(event: () => void): ImageAnimatorAttribute;
65761847f8eSopenharmony_ci
65861847f8eSopenharmony_ci  /**
65961847f8eSopenharmony_ci   * Status callback, which is triggered when the animation playback is complete.
66061847f8eSopenharmony_ci   *
66161847f8eSopenharmony_ci   * @param { function } event
66261847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
66361847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
66461847f8eSopenharmony_ci   * @since 7
66561847f8eSopenharmony_ci   */
66661847f8eSopenharmony_ci  /**
66761847f8eSopenharmony_ci   * Status callback, which is triggered when the animation playback is complete.
66861847f8eSopenharmony_ci   *
66961847f8eSopenharmony_ci   * @param { function } event
67061847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
67161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
67261847f8eSopenharmony_ci   * @crossplatform
67361847f8eSopenharmony_ci   * @form
67461847f8eSopenharmony_ci   * @since 10
67561847f8eSopenharmony_ci   */
67661847f8eSopenharmony_ci  /**
67761847f8eSopenharmony_ci   * Status callback, which is triggered when the animation playback is complete.
67861847f8eSopenharmony_ci   *
67961847f8eSopenharmony_ci   * @param { function } event
68061847f8eSopenharmony_ci   * @returns { ImageAnimatorAttribute }
68161847f8eSopenharmony_ci   * @syscap SystemCapability.ArkUI.ArkUI.Full
68261847f8eSopenharmony_ci   * @crossplatform
68361847f8eSopenharmony_ci   * @form
68461847f8eSopenharmony_ci   * @atomicservice
68561847f8eSopenharmony_ci   * @since 11
68661847f8eSopenharmony_ci   */
68761847f8eSopenharmony_ci  onFinish(event: () => void): ImageAnimatorAttribute;
68861847f8eSopenharmony_ci}
68961847f8eSopenharmony_ci
69061847f8eSopenharmony_ci/**
69161847f8eSopenharmony_ci * Defines ImageAnimator Component.
69261847f8eSopenharmony_ci *
69361847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
69461847f8eSopenharmony_ci * @since 7
69561847f8eSopenharmony_ci */
69661847f8eSopenharmony_ci/**
69761847f8eSopenharmony_ci * Defines ImageAnimator Component.
69861847f8eSopenharmony_ci *
69961847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
70061847f8eSopenharmony_ci * @crossplatform
70161847f8eSopenharmony_ci * @form
70261847f8eSopenharmony_ci * @since 10
70361847f8eSopenharmony_ci */
70461847f8eSopenharmony_ci/**
70561847f8eSopenharmony_ci * Defines ImageAnimator Component.
70661847f8eSopenharmony_ci *
70761847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
70861847f8eSopenharmony_ci * @crossplatform
70961847f8eSopenharmony_ci * @form
71061847f8eSopenharmony_ci * @atomicservice
71161847f8eSopenharmony_ci * @since 11
71261847f8eSopenharmony_ci */
71361847f8eSopenharmony_cideclare const ImageAnimator: ImageAnimatorInterface;
71461847f8eSopenharmony_ci
71561847f8eSopenharmony_ci/**
71661847f8eSopenharmony_ci * Defines ImageAnimator Component instance.
71761847f8eSopenharmony_ci *
71861847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
71961847f8eSopenharmony_ci * @since 7
72061847f8eSopenharmony_ci */
72161847f8eSopenharmony_ci/**
72261847f8eSopenharmony_ci * Defines ImageAnimator Component instance.
72361847f8eSopenharmony_ci *
72461847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
72561847f8eSopenharmony_ci * @crossplatform
72661847f8eSopenharmony_ci * @form
72761847f8eSopenharmony_ci * @since 10
72861847f8eSopenharmony_ci */
72961847f8eSopenharmony_ci/**
73061847f8eSopenharmony_ci * Defines ImageAnimator Component instance.
73161847f8eSopenharmony_ci *
73261847f8eSopenharmony_ci * @syscap SystemCapability.ArkUI.ArkUI.Full
73361847f8eSopenharmony_ci * @crossplatform
73461847f8eSopenharmony_ci * @form
73561847f8eSopenharmony_ci * @atomicservice
73661847f8eSopenharmony_ci * @since 11
73761847f8eSopenharmony_ci */
73861847f8eSopenharmony_cideclare const ImageAnimatorInstance: ImageAnimatorAttribute;
739