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