/* * Copyright (c) 2021-2023 Huawei Device Co., Ltd. * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ /** * @file * @kit ArkUI */ /** * common enum of the checkbox shape * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 11 */ /** * common enum of the checkbox shape * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum CheckBoxShape { /** * Circle. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 11 */ /** * Circle. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ CIRCLE = 0, /** * Rounded Square. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 11 */ /** * Rounded Square. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ ROUNDED_SQUARE = 1, } /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Color { /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ White, /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Black, /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Blue, /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Brown, /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Gray, /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Green, /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Grey, /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Orange, /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Pink, /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Red, /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Yellow, /** * Transparent. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Transparent. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Transparent. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Transparent, } /** * Common enum of color strategy * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Common enum of color strategy * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ColoringStrategy { /** * Use the inverse color strategy. Gets the inverse of the background color. Only applies to foregroundColor. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Use the inverse color strategy. Gets the inverse of the background color. Only applies to foregroundColor. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ INVERT = 'invert', /** * Use the average color strategy. Get the average color of the background. Only applies to shadow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Use the average color strategy. Get the average color of the background. Only applies to shadow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ AVERAGE = 'average', /** * Use the primary color strategy. Get the color that dominate the background color. Only applies to shadow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Use the primary color strategy. Get the color that dominate the background color. Only applies to shadow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ PRIMARY = 'primary', } /** * Image display mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Image display mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Image display mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Image display mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ImageFit { /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Contain, /** * Keep the aspect ratio to zoom out or zoom in so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the aspect ratio to zoom out or zoom in so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the aspect ratio to zoom out or zoom in so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the aspect ratio to zoom out or zoom in so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Cover, /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Fill, /** * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ ScaleDown, /** * Keep the original size and display it in the center. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the original size and display it in the center. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the original size and display it in the center. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the original size and display it in the center. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ TOP_START = 7, /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ TOP = 8, /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ TOP_END = 9, /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ START = 10, /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ CENTER = 11, /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ END = 12, /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM_START = 13, /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM = 14, /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM_END = 15, /** * Matrix of Image. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ MATRIX = 16, } /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum BorderStyle { /** * Displays as a series of dots with a radius of half the borderWidth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Displays as a series of dots with a radius of half the borderWidth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Displays as a series of dots with a radius of half the borderWidth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Displays as a series of dots with a radius of half the borderWidth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Dotted, /** * Shows as a series of short square dashed lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Shows as a series of short square dashed lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Shows as a series of short square dashed lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Shows as a series of short square dashed lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Dashed, /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Solid, } /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum LineJoinStyle { /** * Connect path segments using bevels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Connect path segments using bevels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Connect path segments using bevels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Connect path segments using bevels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Miter, /** * Connect path segments using sharp corners. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Connect path segments using sharp corners. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Connect path segments using sharp corners. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Connect path segments using sharp corners. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Round, /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bevel, } /** * Function Called by Touch * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Function Called by Touch * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Function Called by Touch * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TouchType { /** * Triggered when the finger is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Triggered when the finger is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the finger is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Down, /** * Triggered when the finger is raised. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Triggered when the finger is raised. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the finger is raised. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Up, /** * Triggered when the finger presses on the screen. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Triggered when the finger presses on the screen. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the finger presses on the screen. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Move, /** * Triggers when the touch event cancels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Triggers when the touch event cancels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggers when the touch event cancels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Cancel, /** * Triggers when the touch event turns to hover enter in accessibility processing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ HOVER_ENTER = 9, /** * Triggers when the touch event turns to hover move in accessibility processing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ HOVER_MOVE = 10, /** * Triggers when the touch event turns to hover exit in accessibility processing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ HOVER_EXIT = 11, /** * Triggers when the touch event turns to hover cancel in accessibility processing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ HOVER_CANCEL = 12, } /** * Function Called by Touch or Gesture. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ declare enum InteractionHand { /** * Unknown hand. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ NONE = 0, /** * Left hand. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ LEFT = 1, /** * Right hand. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ RIGHT = 2, } /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum MouseButton { /** * Mouse Left Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Left Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse Left Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Left, /** * Mouse Right Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Right Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse Right Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Right, /** * Mouse Middle Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Middle Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse Middle Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Middle, /** * Mouse Back Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Back Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse Back Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Back, /** * Mouse Forward Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Forward Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse Forward Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Forward, /** * Mouse None Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse None Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Mouse None Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, } /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Function Called by Mouse * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum MouseAction { /** * Triggered when the mouse is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Triggered when the mouse is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the mouse is pressed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Press, /** * Triggered when the mouse is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Triggered when the mouse is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the mouse is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Release, /** * Triggered when the mouse is Moved. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Triggered when the mouse is Moved. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the mouse is Moved. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Move, /** * Triggered when the mouse is Hovered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Triggered when the mouse is Hovered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Triggered when the mouse is Hovered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Hover, /** * Triggered when the mouse event is canceled. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ CANCEL = 13 } /** * Animation status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Animation status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Animation status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum AnimationStatus { /** * Initial state of the animation. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Initial state of the animation. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Initial state of the animation. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Initial, /** * The animation is playing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is playing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation is playing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Running, /** * The animation is paused. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is paused. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation is paused. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Paused, /** * The animation is stopped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is stopped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation is stopped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Stopped, } /** * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Curve { /** * Indicates that the speed of the animation is the same from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Indicates that the speed of the animation is the same from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates that the speed of the animation is the same from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates that the speed of the animation is the same from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Linear, /** * Indicates that the animation starts at a low speed, then accelerates, and then slows down before it ends, CubicBezier(0.25, 0.1, 0.25, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Indicates that the animation starts at a low speed, then accelerates, and then slows down before it ends, CubicBezier(0.25, 0.1, 0.25, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates that the animation starts at a low speed, then accelerates, and then slows down before it ends, CubicBezier(0.25, 0.1, 0.25, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates that the animation starts at a low speed, then accelerates, and then slows down before it ends, CubicBezier(0.25, 0.1, 0.25, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Ease, /** * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ EaseIn, /** * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ EaseOut, /** * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ EaseInOut, /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FastOutSlowIn, /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LinearOutSlowIn, /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FastOutLinearIn, /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ ExtremeDeceleration, /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Sharp, /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Rhythm, /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Smooth, /** * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Friction, } /** * Sets the state before and after the animation starts. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sets the state before and after the animation starts. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sets the state before and after the animation starts. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FillMode { /** * Restores to the initial state after the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Restores to the initial state after the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Restores to the initial state after the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, /** * Retains the state at the end of the animation when the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Retains the state at the end of the animation when the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Retains the state at the end of the animation when the playback is complete. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Forwards, /** * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Backwards, /** * Both forward and backward fill modes are applied. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Both forward and backward fill modes are applied. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Both forward and backward fill modes are applied. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Both, } /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum PlayMode { /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Normal, /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Reverse, /** * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Alternate, /** * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ AlternateReverse, } /** * Type of a key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Type of a key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Type of a key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum KeyType { /** * Press the key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Press the key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Press the key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Down, /** * The key is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The key is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The key is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Up, } /** * Type of the input device that triggers the current key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Type of the input device that triggers the current key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Type of the input device that triggers the current key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum KeySource { /** * The input device type is unknown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The input device type is unknown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The input device type is unknown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Unknown, /** * Set Device Type to Keyboard. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Set Device Type to Keyboard. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Set Device Type to Keyboard. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Keyboard, /** * Set Device Type to Joystic. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ JOYSTICK, } /** * Edge. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Edge. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Edge. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Edge { /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Top, /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 * @deprecated since 9 */ Center, /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bottom, /** * Cross axis direction text baseline alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 * @deprecated since 9 */ Baseline, /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * Middle * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 * @deprecated since 9 */ Middle, /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Align the head of the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, } /** * Set Weekend * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Set Weekend * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Set Weekend * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Week { /** * Monday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Monday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Monday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Mon, /** * Tuesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Tuesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Tuesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Tue, /** * Wednesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Wednesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Wednesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Wed, /** * Thursday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Thursday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Thursday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Thur, /** * Friday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Friday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Friday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Fri, /** * Saturday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Saturday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Saturday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Sat, /** * Sunday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sunday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Sunday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Sun, } /** * Sets the horizontal layout of elements. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sets the horizontal layout of elements. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Sets the horizontal layout of elements. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sets the horizontal layout of elements. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Direction { /** * Elements are laid out from left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elements are laid out from left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elements are laid out from left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elements are laid out from left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Ltr, /** * Elements are laid out from right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elements are laid out from right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elements are laid out from right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elements are laid out from right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Rtl, /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, } /** * Used to set the status of the scroll bar. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Used to set the status of the scroll bar. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Used to set the status of the scroll bar. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Used to set the status of the scroll bar. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum BarState { /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Off, /** * On-demand display (displayed when you touch it and disappears after 2 seconds). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * On-demand display (displayed when you touch it and disappears after 2 seconds). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * On-demand display (displayed when you touch it and disappears after 2 seconds). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * On-demand display (displayed when you touch it and disappears after 2 seconds). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ On, } /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum EdgeEffect { /** * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elastic physical action, sliding to the edge can continue to slide for a distance based on the initial speed or touch event, and spring back when released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Spring, /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Fade, /** * Sliding to the edge has no effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sliding to the edge has no effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Sliding to the edge has no effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Sliding to the edge has no effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, } /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Alignment { /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TopStart, /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Top, /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TopEnd, /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BottomStart, /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bottom, /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BottomEnd, } /** * Alignment enumeration description. * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ declare enum LocalizedAlignment { /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ TOP_START = "top_start", /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ TOP = "top", /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ TOP_END = "top_end", /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ START = "start", /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ CENTER = "center", /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ END = "end", /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ BOTTOM_START = "bottom_start", /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ BOTTOM = "bottom", /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since 20 */ BOTTOM_END = "bottom_end", } /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TransitionType { /** * Specifies that the current transition action takes effect in all change scenarios of the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Specifies that the current transition action takes effect in all change scenarios of the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Specifies that the current transition action takes effect in all change scenarios of the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Specifies that the current transition action takes effect in all change scenarios of the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ All, /** * Specifies the insertion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Specifies the insertion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Specifies the insertion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Specifies the insertion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Insert, /** * Specifies the deletion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Specifies the deletion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Specifies the deletion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Specifies the deletion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Delete, } /** * RelateType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * RelateType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * RelateType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum RelateType { /** * Scales the current component to fill the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Scales the current component to fill the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scales the current component to fill the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FILL, /** * Scales the current component to fit the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Scales the current component to fit the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scales the current component to fit the parent component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FIT, } /** * Controls the display or hide of the current component * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Controls the display or hide of the current component * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Controls the display or hide of the current component * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Controls the display or hide of the current component * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Visibility { /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Visible, /** * Hide, but participate in layout for placeholder. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Hide, but participate in layout for placeholder. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Hide, but participate in layout for placeholder. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Hide, but participate in layout for placeholder. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Hidden, /** * Hides but does not participate in layout and does not take place. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Hides but does not participate in layout and does not take place. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Hides but does not participate in layout and does not take place. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Hides but does not participate in layout and does not take place. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, } /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum LineCapStyle { /** * The two ends of the dividing line are parallel lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The two ends of the dividing line are parallel lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The two ends of the dividing line are parallel lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The two ends of the dividing line are parallel lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Butt, /** * The two ends of the dividing line are semicircles. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The two ends of the dividing line are semicircles. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The two ends of the dividing line are semicircles. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The two ends of the dividing line are semicircles. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Round, /** * Extends half a circle at the end of the path with a width equal to half the dividing line width and a height equal to the dividing line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Extends half a circle at the end of the path with a width equal to half the dividing line width and a height equal to the dividing line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Extends half a circle at the end of the path with a width equal to half the dividing line width and a height equal to the dividing line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Extends half a circle at the end of the path with a width equal to half the dividing line width and a height equal to the dividing line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Square, } /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Axis { /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Vertical, /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Horizontal, } /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum HorizontalAlign { /** * Aligns the start end in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Aligns the start end in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Aligns the start end in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Aligns the start end in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * Aligns the ends in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Aligns the ends in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Aligns the ends in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Aligns the ends in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, } /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FlexAlign { /** * The element is aligned at the head of the principal axis, * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The element is aligned at the head of the principal axis, * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The element is aligned at the head of the principal axis, * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The element is aligned at the head of the principal axis, * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * The elements are centered in the direction of the principal axis, * and the first element is the same distance from the beginning of the row as the last element is from the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The elements are centered in the direction of the principal axis, * and the first element is the same distance from the beginning of the row as the last element is from the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The elements are centered in the direction of the principal axis, * and the first element is the same distance from the beginning of the row as the last element is from the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The elements are centered in the direction of the principal axis, * and the first element is the same distance from the beginning of the row as the last element is from the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * The element is aligned at the tail of the principal axis, * the last element is aligned at the end of the row, and the other elements are aligned with the next. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The element is aligned at the tail of the principal axis, * the last element is aligned at the end of the row, and the other elements are aligned with the next. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The element is aligned at the tail of the principal axis, * the last element is aligned at the end of the row, and the other elements are aligned with the next. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The element is aligned at the tail of the principal axis, * the last element is aligned at the end of the row, and the other elements are aligned with the next. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SpaceBetween, /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between * the first element and the distance between the last element and the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between * the first element and the distance between the last element and the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between * the first element and the distance between the last element and the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elastic elements are evenly distributed in the direction of the Flex principal axis, * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between * the first element and the distance between the last element and the end of the row. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SpaceAround, /** * Elements in the Flex axis direction are evenly spaced. * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, * and the spacing between the last element and the end of the row are the same. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Elements in the Flex axis direction are evenly spaced. * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, * and the spacing between the last element and the end of the row are the same. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Elements in the Flex axis direction are evenly spaced. * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, * and the spacing between the last element and the end of the row are the same. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Elements in the Flex axis direction are evenly spaced. * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, * and the spacing between the last element and the end of the row are the same. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SpaceEvenly, } /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ItemAlign { /** * Use the default configuration in the Flex container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Use the default configuration in the Flex container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Use the default configuration in the Flex container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Use the default configuration in the Flex container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, /** * The element is in the Flex container with the cross-axis direction head aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The element is in the Flex container with the cross-axis direction head aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The element is in the Flex container with the cross-axis direction head aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The element is in the Flex container with the cross-axis direction head aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * The element is centered in the Flex container with the cross axis direction aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The element is centered in the Flex container with the cross axis direction aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The element is centered in the Flex container with the cross axis direction aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The element is centered in the Flex container with the cross axis direction aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * The element is bottom aligned in the Flex container with the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The element is bottom aligned in the Flex container with the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The element is bottom aligned in the Flex container with the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The element is bottom aligned in the Flex container with the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, /** * Element In the Flex container, the cross-axis direction text baseline is aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Element In the Flex container, the cross-axis direction text baseline is aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Element In the Flex container, the cross-axis direction text baseline is aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Element In the Flex container, the cross-axis direction text baseline is aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Baseline, /** * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Stretch, } /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FlexDirection { /** * The main axis is consistent with the row direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The main axis is consistent with the row direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The main axis is consistent with the row direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The main axis is consistent with the row direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Row, /** * The main axis is consistent with the column direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The main axis is consistent with the column direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The main axis is consistent with the column direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The main axis is consistent with the column direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Column, /** * The layout is in the opposite direction to the Row direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The layout is in the opposite direction to the Row direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The layout is in the opposite direction to the Row direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The layout is in the opposite direction to the Row direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RowReverse, /** * Layout in the opposite direction to the column. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Layout in the opposite direction to the column. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Layout in the opposite direction to the column. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Layout in the opposite direction to the column. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ ColumnReverse, } /** * Pixel Round Direction * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum PixelRoundCalcPolicy { /** * No Force round the component boundary coordinates to integer pixel. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ NO_FORCE_ROUND = 0, /** * Force ceil the component boundary coordinates to integer pixel. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FORCE_CEIL = 1, /** * Force floor the component boundary coordinates to integer pixel. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ FORCE_FLOOR = 2, } /** * Pixel Round Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ declare enum PixelRoundMode { /** * Do pixel round on layout finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ PIXEL_ROUND_ON_LAYOUT_FINISH = 0, /** * Do pixel round after measure. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ PIXEL_ROUND_AFTER_MEASURE = 1, } /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FlexWrap { /** * The Flex container has a single row/column layout of elements, and children are not allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The Flex container has a single row/column layout of elements, and children are not allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The Flex container has a single row/column layout of elements, and children are not allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The Flex container has a single row/column layout of elements, and children are not allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ NoWrap, /** * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Wrap, /** * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ WrapReverse, } /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum VerticalAlign { /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Top, /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bottom, } /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ImageRepeat { /** * Do not draw the picture again. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Do not draw the picture again. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Do not draw the picture again. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Do not draw the picture again. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ NoRepeat, /** * Repeat the drawing only on the horizontal axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Repeat the drawing only on the horizontal axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Repeat the drawing only on the horizontal axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Repeat the drawing only on the horizontal axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ X, /** * Repeat the drawing only on the vertical axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Repeat the drawing only on the vertical axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Repeat the drawing only on the vertical axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Repeat the drawing only on the vertical axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Y, /** * Draw the picture repeatedly on both axes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Draw the picture repeatedly on both axes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Draw the picture repeatedly on both axes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Draw the picture repeatedly on both axes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ XY, } /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ImageSize { /** * Keep the scale of the original image unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the scale of the original image unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the scale of the original image unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the scale of the original image unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, /** * Keep the aspect ratio to zoom in or out the image so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the aspect ratio to zoom in or out the image so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the aspect ratio to zoom in or out the image so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the aspect ratio to zoom in or out the image so that both sides of the image are greater than or equal to the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Cover, /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Contain, /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FILL = 3, } /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum GradientDirection { /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Left, /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Top, /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Right, /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bottom, /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LeftTop, /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LeftBottom, /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RightTop, /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RightBottom, /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, } /** * SharedTransitionEffectType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * SharedTransitionEffectType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * SharedTransitionEffectType enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum SharedTransitionEffectType { /** * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, * only the static effect configured for redirecting to the target page takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, * only the static effect configured for redirecting to the target page takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, * only the static effect configured for redirecting to the target page takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Static, /** * Move the source page element to the destination page element location and scale it appropriately. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Move the source page element to the destination page element location and scale it appropriately. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Move the source page element to the destination page element location and scale it appropriately. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Exchange, } /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FontStyle { /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Normal, /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Italic, } /** * The font weight of the text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The font weight of the text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The font weight of the text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The font weight of the text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FontWeight { /** * Defines a lighter value than [Inherited Value].. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines a lighter value than [Inherited Value].. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Defines a lighter value than [Inherited Value].. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Defines a lighter value than [Inherited Value].. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Lighter, /** * Normal font. Equivalent to a digital value of 400. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Normal font. Equivalent to a digital value of 400. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Normal font. Equivalent to a digital value of 400. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Normal font. Equivalent to a digital value of 400. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Normal, /** * Defines a more general value than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines a more general value than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Defines a more general value than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Defines a more general value than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Regular, /** * Defines a value that is more centered than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines a value that is more centered than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Defines a value that is more centered than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Defines a value that is more centered than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Medium, /** * Bold. Equivalent to a numeric value of 700. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bold. Equivalent to a numeric value of 700. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Bold. Equivalent to a numeric value of 700. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Bold. Equivalent to a numeric value of 700. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bold, /** * Defines a value that is heavier than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Defines a value that is heavier than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Defines a value that is heavier than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Defines a value that is heavier than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bolder, } /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextAlign { /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Center, /** * The text is aligned in the same direction as the writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is aligned in the same direction as the writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The text is aligned in the same direction as the writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The text is aligned in the same direction as the writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Start, /** * The text is aligned in the opposite direction of writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is aligned in the opposite direction of writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The text is aligned in the opposite direction of writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The text is aligned in the opposite direction of writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ End, /** * Justify the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Justify the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ JUSTIFY, } /** * Declare how text overflows. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Declare how text overflows. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Declare how text overflows. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Declare how text overflows. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextOverflow { /** * When the text overflows its dimensions, the text will not be cropped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * When the text overflows its dimensions, the text will not be cropped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * When the text overflows its dimensions, the text will not be cropped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * When the text overflows its dimensions, the text will not be cropped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, /** * When the text overflows its dimensions, the text will be cropped and displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * When the text overflows its dimensions, the text will be cropped and displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * When the text overflows its dimensions, the text will be cropped and displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * When the text overflows its dimensions, the text will be cropped and displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Clip, /** * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Ellipsis, /** * When the text overflows its dimensions, the text will scroll for displaying. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * When the text overflows its dimensions, the text will scroll for displaying. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MARQUEE, } /** * Type of text modifier. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Type of text modifier. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Type of text modifier. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Type of text modifier. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextDecorationType { /** * Do not use text decorative lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Do not use text decorative lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Do not use text decorative lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Do not use text decorative lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Underline, /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Overline, /** * A modifier line that passes through the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * A modifier line that passes through the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * A modifier line that passes through the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * A modifier line that passes through the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LineThrough, } /** * Letter type in text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Letter type in text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Letter type in text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Letter type in text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextCase { /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Normal, /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LowerCase, /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ UpperCase, } /** * Enum of text height adaptation * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Enum of text height adaptation * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextHeightAdaptivePolicy { /** * Priority is given to using the maxLines attribute to adapt the text height. * If the layout size using the maxLines attribute exceeds the layout constraint, try reducing the font size to * display more text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Priority is given to using the maxLines attribute to adapt the text height. * If the layout size using the maxLines attribute exceeds the layout constraint, try reducing the font size to * display more text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MAX_LINES_FIRST, /** * Priority is given to using the minFontSize attribute to adapt the text height. * If the text can be layout in a single line using the minFontSize property, try increasing the font size and using * the maximum possible font size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Priority is given to using the minFontSize attribute to adapt the text height. * If the text can be layout in a single line using the minFontSize property, try increasing the font size and using * the maximum possible font size. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MIN_FONT_SIZE_FIRST, /** * Priority is given to using the layout constraint to adapt the text height. * If the layout size exceeds the layout constraint, try reducing the font size. If the layout size still exceeds * the layout constraint after reducing the font size to minFontSize, remove the lines that exceed the layout * constraint. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Priority is given to using the layout constraint to adapt the text height. * If the layout size exceeds the layout constraint, try reducing the font size. If the layout size still exceeds * the layout constraint after reducing the font size to minFontSize, remove the lines that exceed the layout * constraint. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LAYOUT_CONSTRAINT_FIRST, } /** * ResponseType for contextMenu * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * ResponseType for contextMenu * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * ResponseType for contextMenu * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ResponseType { /** * Right click. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Right click. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Right click. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RightClick, /** * Long press. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Long press. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Long press. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LongPress, } /** * HoverEffect enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * HoverEffect enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * HoverEffect enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum HoverEffect { /** * Default effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Default effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Default effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Auto, /** * Zoom in and out effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Zoom in and out effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Zoom in and out effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Scale, /** * Highlight effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Highlight effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Highlight effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Highlight, /** * None effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * None effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * None effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, } /** * Placement enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Placement enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Placement enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum Placement { /** * Left placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Left placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Left placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Left, /** * Right placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Right placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Right placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Right, /** * Top placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Top placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Top placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Top, /** * Bottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Bottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Bottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Bottom, /** * TopLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * TopLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * TopLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TopLeft, /** * TopRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * TopRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * TopRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TopRight, /** * BottomLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * BottomLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * BottomLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BottomLeft, /** * BottomRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * BottomRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * BottomRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BottomRight, /** * LeftTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * LeftTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * LeftTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LeftTop, /** * LeftBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * LeftBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * LeftBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LeftBottom, /** * RightTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * RightTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * RightTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RightTop, /** * RightBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * RightBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * RightBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ RightBottom, } /** * ArrowPointPosition enumeration description * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * ArrowPointPosition enumeration description * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ArrowPointPosition { /** * Target start position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Target start position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ START = 'Start', /** * Target center position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Target center position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ CENTER = 'Center', /** * Target end position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Target end position * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ END = 'End', } /** * Indicates the share option. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Indicates the share option. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Indicates the share option. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum CopyOptions { /** * Not allow share. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Not allow share. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Not allow share. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None = 0, /** * Share in app. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Share in app. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Share in app. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ InApp = 1, /** * Share in local device. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @form * @since 9 */ /** * Share in local device. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 10 */ /** * Share in local device. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LocalDevice = 2, /** * Share in cross Device * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @since 11 * @deprecated since 12 */ CROSS_DEVICE = 3, } /** * Defines the hit test mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Defines the hit test mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Defines the hit test mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum HitTestMode { /** * Both self and children nodes respond to the hit test for touch events, * but block hit test of the other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Both self and children nodes respond to the hit test for touch events, * but block hit test of the other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Both self and children nodes respond to the hit test for touch events, * but block hit test of the other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Default, /** * Self respond to the hit test for touch events, * but block hit test of children and other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Self respond to the hit test for touch events, * but block hit test of children and other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Self respond to the hit test for touch events, * but block hit test of children and other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Block, /** * Self and children respond to the hit test for touch events, * and allow hit test of other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Self and children respond to the hit test for touch events, * and allow hit test of other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Self and children respond to the hit test for touch events, * and allow hit test of other nodes which is masked by this node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ Transparent, /** * Self not respond to the hit test for touch events, * but children respond to the hit test for touch events. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Self not respond to the hit test for touch events, * but children respond to the hit test for touch events. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Self not respond to the hit test for touch events, * but children respond to the hit test for touch events. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ None, /** * Blocks all lower priority siblings and parents node from receiving the event. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ BLOCK_HIERARCHY, /** * Self not respond to the hit test for touch events, * and all descebdants (children, grandchildren, etc.) not respond to the hit test for touch events too. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ BLOCK_DESCENDANTS, } /** * Title height. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Title height. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Title height. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TitleHeight { /** * Title height when only main title is available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Title height when only main title is available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Title height when only main title is available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MainOnly, /** * Title height when main title and subtitle are both available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Title height when main title and subtitle are both available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Title height when main title and subtitle are both available. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MainWithSub, } /** * Modifier key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Modifier key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ModifierKey { /** * ctrl. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * ctrl. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ CTRL, /** * shift. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * shift. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SHIFT, /** * alt. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * alt. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ ALT, } /** * Function key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Function key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FunctionKey { /** * Escape key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Escape key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ ESC, /** * F1 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F1 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F1, /** * F2 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F2 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F2, /** * F3 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F3 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F3, /** * F4 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F4 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F4, /** * F5 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F5 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F5, /** * F6 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F6 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F6, /** * F7 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F7 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F7, /** * F8 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F8 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F8, /** * F9 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F9 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F9, /** * F10 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F10 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F10, /** * F11 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F11 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F11, /** * F12 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * F12 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ F12, /** * Tab key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ TAB, /** * Up arrow key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DPAD_UP, /** * Down arrow key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DPAD_DOWN, /** * Left arrow key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DPAD_LEFT, /** * Right arrow key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DPAD_RIGHT, } /** * The alignment of ImageSpan * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The alignment of ImageSpan * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ImageSpanAlignment { /** * Indicating that the bottom of the ImageSpan should be aligned with the baseline of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Indicating that the bottom of the ImageSpan should be aligned with the baseline of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BASELINE, /** * Indicating that the bottom of the ImageSpan should be aligned with the bottom of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Indicating that the bottom of the ImageSpan should be aligned with the bottom of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM, /** * Indicating that the center of the ImageSpan should be aligned with the center of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Indicating that the center of the ImageSpan should be aligned with the center of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ CENTER, /** * Indicating that the top of the ImageSpan should be aligned with the top of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Indicating that the top of the ImageSpan should be aligned with the top of the surrounding text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TOP, /** * The ImageSpan's alignment is same with the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ FOLLOW_PARAGRAPH, } /** * ObscuredReasons. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * ObscuredReasons. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ObscuredReasons { /** * Displayed data should appear as generic placeholders. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Displayed data should appear as generic placeholders. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ PLACEHOLDER = 0, } /** * Text content style. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Text content style. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextContentStyle { /** * Text content default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Text content default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ DEFAULT, /** * Text content inline style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Text content inline style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ INLINE } /** * Enum of click effect level. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Enum of click effect level. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ClickEffectLevel { /** * Click effect level1. * The default scale number of this click effect level1 is 0.90. * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:410, damping:38. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Click effect level1. * The default scale number of this click effect level1 is 0.90. * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:410, damping:38. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ LIGHT, /** * Click effect level2. * The default scale number of this click effect level2 is 0.95. * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:350, damping:35. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Click effect level2. * The default scale number of this click effect level2 is 0.95. * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:350, damping:35. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ MIDDLE, /** * Click effect level3. * The default scale number of this click effect level3 is 0.95. * The animation type is interpolatingSpring, velocity:0, mass:1, stiffness:240, damping:28. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Click effect level3. * The default scale number of this click effect level3 is 0.95. * The animation type is interpolatingSpring, velocity:0, mass:1, stiffness:240, damping:28. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ HEAVY, } /** * The type of XComponent * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * The type of XComponent * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since 11 */ /** * The type of XComponent * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum XComponentType { /** * Surface type. The default type is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Surface type. The default type is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since 11 */ /** * Surface type. The default type is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SURFACE, /** * Component type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Component type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since 11 * @deprecated since 12 */ COMPONENT, /** * Texture type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Texture type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ TEXTURE, /** * Node type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @deprecated since 20 * @arkts 1.1&1.2 */ NODE, } /** * Nested scroll nested mode * @enum { number } NestedScrollMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Nested scroll nested mode * @enum { number } NestedScrollMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum NestedScrollMode { /** * Only Self response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Only Self response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SELF_ONLY, /** * Self priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Self priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ SELF_FIRST, /** * Parent scrollable component priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Parent scrollable component priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ PARENT_FIRST, /** * Both self and parent scrollable component response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ /** * Both self and parent scrollable component response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ PARALLEL, } /** * The possible source of scroll event * @enum { number } ScrollSource * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum ScrollSource { /** * Drag events. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DRAG = 0, /** * Fling after the drag has ended with velocity. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FLING, /** * Over scroll with EdgeEffect.Spring. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ EDGE_EFFECT, /** * Other user input except drag, such as mouse wheel, key event. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ OTHER_USER_INPUT, /** * Drag events of scroll bar. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SCROLL_BAR, /** * Fling after the drag on scroll bar has ended with velocity. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SCROLL_BAR_FLING, /** * Member methods of Scroller without animation. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SCROLLER, /** * Member methods of Scroller with animation. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SCROLLER_ANIMATION, } /** * Enum of RenderFit * * @enum { number } RenderFit * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Enum of RenderFit * * @enum { number } RenderFit * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Enum of RenderFit * * @enum { number } RenderFit * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ declare enum RenderFit { /** * Without scaling the content area, the content area is drawn in the center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ CENTER = 0, /** * Without scaling the content area, the content area is drawn in the top center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the top center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the top center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ TOP = 1, /** * Without scaling the content area, the content area is drawn in the bottom center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the bottom center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the bottom center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM = 2, /** * Without scaling the content area, the content area is drawn in the left center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the left center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the left center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ LEFT = 3, /** * Without scaling the content area, the content area is drawn in the right center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the right center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the right center of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RIGHT = 4, /** * Without scaling the content area, the content area is drawn in the top left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the top left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the top left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ TOP_LEFT = 5, /** * Without scaling the content area, the content area is drawn in the top right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the top right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the top right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ TOP_RIGHT = 6, /** * Without scaling the content area, the content area is drawn in the bottom left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the bottom left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the bottom left of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM_LEFT = 7, /** * Without scaling the content area, the content area is drawn in the bottom right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Without scaling the content area, the content area is drawn in the bottom right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Without scaling the content area, the content area is drawn in the bottom right of the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ BOTTOM_RIGHT = 8, /** * Scale the length and width of the content area to the node size to fill the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length and width of the content area to the node size to fill the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length and width of the content area to the node size to fill the node. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_FILL = 9, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node, and the content after scaling * is centered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node, and the content after scaling * is centered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node, and the content after scaling * is centered. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_CONTAIN = 10, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the top; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the top; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the top; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_CONTAIN_TOP_LEFT = 11, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the bottom; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the bottom; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content * is less than or equal to the height of the node, the scaled content area is displayed at the bottom; otherwise, * the width of the scaled content is less than or equal to the width of the node, the scaled content area is * displayed at the right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_CONTAIN_BOTTOM_RIGHT = 12, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node, and the content after scaling * displays the center area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node, and the content after scaling * displays the center area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node, and the content after scaling * displays the center area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_COVER = 13, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the top area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the left area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the top area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the left area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the top area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the left area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_COVER_TOP_LEFT = 14, /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the bottom area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the right area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the bottom area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the right area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 11 */ /** * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content * is greater than or equal to the height of the node, the scaled content area displays the bottom area; otherwise, * the width of the scaled content is greater than or equal to the width of the node, the scaled content area * displays the right area. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ RESIZE_COVER_BOTTOM_RIGHT = 15, } /** * The Button Style of dialog, * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * The Button Style of dialog, * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum DialogButtonStyle { /** * Default Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Default Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ DEFAULT = 0, /** * Highlight Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ /** * Highlight Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ HIGHLIGHT = 1 } /** * Enum of word break * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum WordBreak { /** * By default, CJK text can be wrapped between any 2 characters, and non-CJK text can only be wrapped in spaces. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ NORMAL = 0, /** * Non-CJK text be wrapped at any character * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BREAK_ALL = 1, /** * Non-CJK text can be wrapped at any character * and if a complete word can be preserved in space breaks, the word must be kept on the line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BREAK_WORD = 2, /** * For supported languages, line breaks can be performed by syllables. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ HYPHENATION = 3, } /** * Enum of line break strategy * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum LineBreakStrategy { /** * By default. Display as many characters as possible on each line until no more characters * can be displayed on that line, and do not automatically add hyphens under this strategy * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ GREEDY = 0, /** * High quality folding. Optimize the layout of the entire text's line breaks and automatically * add hyphens if necessary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ HIGH_QUALITY = 1, /** * Balanced folding. We will try our best to ensure that the width of each line in a paragraph * is the same, and if necessary, we will add conjunction * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ BALANCED = 2, } /** * Enum of Illuminated type * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ declare enum IlluminatedType { /** * Component is not illuminated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ NONE = 0, /** * Border is illuminated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BORDER = 1, /** * Content is illuminated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ CONTENT = 2, /** * Border and Content is illuminated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BORDER_CONTENT = 3, /** * Border is illuminated, and the border have a bloom effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BLOOM_BORDER = 4, /** * Border and Content is illuminated, and the border have a bloom effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @systemapi * @since arkts {'1.1':'11','1.2':'20'} * @arkts 1.1&1.2 */ BLOOM_BORDER_CONTENT = 5 } /** * Enum of ellipsisMode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Enum of ellipsisMode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum EllipsisMode { /** * The ellipsis is in the head. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * The ellipsis is in the head. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ START = 0, /** * The ellipsis is in the middle. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * The ellipsis is in the middle. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ CENTER = 1, /** * The ellipsis is at the end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * The ellipsis is at the end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ END = 2, } /** * A type which can be undefined * * @typedef { T | undefined } Nullable * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * A type which can be undefined * * @typedef { T | undefined } Nullable * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare type Nullable = T | undefined; /** * Decide whether the width of select menu fit the trigger or content * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Decide whether the width of select menu fit the trigger or content * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum OptionWidthMode { /** * The menu width fit the content. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * The menu width fit the content. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FIT_CONTENT = 'fit_content', /** * The menu width fit the trigger. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * The menu width fit the trigger. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FIT_TRIGGER = 'fit_trigger', } /** * Enumerates the fold status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Enumerates the fold status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FoldStatus { /** * Fold Status Unknown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Fold Status Unknown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FOLD_STATUS_UNKNOWN = 0, /** * Fold Status Expanded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Fold Status Expanded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FOLD_STATUS_EXPANDED = 1, /** * Fold Status Folded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Fold Status Folded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FOLD_STATUS_FOLDED = 2, /** * Fold Status Half Folded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 11 */ /** * Fold Status Half Folded. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ FOLD_STATUS_HALF_FOLDED = 3, } /** * Enumerates the app rotation. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum AppRotation { /** * App does not rotate to display vertically. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ ROTATION_0 = 0, /** * App rotates 90 degrees clockwise to display horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ ROTATION_90 = 1, /** * App rotates 180 degrees clockwise to display vertically in reverse. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ ROTATION_180 = 2, /** * App rotates 270 degrees clockwise to display horizontally in reverse. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ ROTATION_270 = 3 } /** * Enum of EmbeddedType * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum EmbeddedType { /** * The EmbeddedComponent show the UI in EmbeddedUIExtensionAbility. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ EMBEDDED_UI_EXTENSION = 0, } /** * Marquee scrolling strategy after text update * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum MarqueeUpdateStrategy { /** * Reset scroll position and restart scroll. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DEFAULT = 0, /** * Preserve scroll position, just change to new text * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ PRESERVE_POSITION = 1 } /** * Type of text decoration line style. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextDecorationStyle { /** * Solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SOLID = 0, /** * Double lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DOUBLE = 1, /** * Dotted line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DOTTED = 2, /** * Dashed line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ DASHED = 3, /** * Wavy line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ WAVY = 4, } /** * Type of text selectable. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum TextSelectableMode { /** * set text selectable and unfocusable. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SELECTABLE_UNFOCUSABLE = 0, /** * set text selectable and focusable. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ SELECTABLE_FOCUSABLE = 1, /** * set text unselectable and unfocusable. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ UNSELECTABLE = 2, } /** * Type of accessibility hover event. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ declare enum AccessibilityHoverType { /** * Hover enter type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ HOVER_ENTER = 0, /** * Hover move type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ HOVER_MOVE = 1, /** * Hover exit type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ HOVER_EXIT = 2, /** * Hover cancel type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'12','1.2':'20'} * @arkts 1.1&1.2 */ HOVER_CANCEL = 3, } /** * Type of window width breakpoint. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ declare enum WidthBreakpoint { /** * Window width < 320vp type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ WIDTH_XS = 0, /** * Window width >= 320vp and < 600vp type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ WIDTH_SM = 1, /** * Window width >= 600vp and < 840vp type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ WIDTH_MD = 2, /** * Window width >= 840vp and < 1440vp type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ WIDTH_LG = 3, /** * Window width >= 1440vp type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ WIDTH_XL = 4, } /** * Type of window height breakpoint. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ declare enum HeightBreakpoint { /** * Window aspectRatio < 0.8 type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ HEIGHT_SM = 0, /** * Window aspectRatio >= 0.8 and < 1.2 type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ HEIGHT_MD = 1, /** * Window aspectRatio >= 1.2 type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'13','1.2':'20'} * @arkts 1.1&1.2 */ HEIGHT_LG = 2, } /** * Type of axis. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ declare enum AxisModel { /** * ABS_X axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_X = 0, /** * ABS_Y axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_Y = 1, /** * ABS_Z axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_Z = 2, /** * ABS_RZ axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_RZ = 3, /** * ABS_GAS axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_GAS = 4, /** * ABS_BRAKE axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_BRAKE = 5, /** * ABS_HAT0X axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_HAT0X = 6, /** * ABS_HAT0Y axis type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ ABS_HAT0Y = 7, } /** * Page flip mode of Swiper and Tabs on mouse wheel event. * @enum { number } PageFlipMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ declare enum PageFlipMode { /** * Turn pages continuously according to the number of mouse wheel events. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ CONTINUOUS = 0, /** * The page-turning animation remains unresponsive to other mouse wheel events until it completes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'15','1.2':'20'} * @arkts 1.1&1.2 */ SINGLE = 1, } /** * Focus wrap mode of a list or grid when moving focus using the arrow keys. * @enum { number } FocusWrapMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ declare enum FocusWrapMode { /** * No wrap when moving focus using the arrow keys. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ DEFAULT = 0, /** * Auto wrap when moving focus using the arrow keys. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ WRAP_WITH_ARROW = 1, } /** * Rotating crown event behavior. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ declare enum CrownAction { /** * Rotation crown behavior begins. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ BEGIN = 0, /** * Rotation crown behavior update. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ UPDATE = 1, /** * The rotation crown behavior ends. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ END = 2 } /** * Sensitivity of rotating crown. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ declare enum CrownSensitivity { /** * Low sensitivity. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ LOW = 0, /** * Medium sensitivity. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ MEDIUM = 1, /** * High sensitivity. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'18','1.2':'20'} * @arkts 1.1&1.2 */ HIGH = 2 } /** * Type of axis action. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ declare enum AxisAction { /** * None action. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ NONE = 0, /** * Triggered when an axis event starts. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ BEGIN = 1, /** * Triggered when the axis event is updated. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ UPDATE = 2, /** * Triggered when the axis event ends. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ END = 3, /** * Triggered when the axis event is cancelled. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @atomicservice * @since arkts {'1.1':'17','1.2':'20'} * @arkts 1.1&1.2 */ CANCEL = 4, } /** * Type of focus draw level. * * @enum {number} * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ declare enum FocusDrawLevel { /** * Draw focus on node self level. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ SELF = 0, /** * Draw focus on top level. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @form * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ TOP = 1, } /** * Menu divider mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ declare enum DividerMode { /** * Menu divider mode floating above menu. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ FLOATING_ABOVE_MENU = 0, /** * Menu divider mode embedded in menu. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since arkts {'1.1':'19','1.2':'20'} * @arkts 1.1&1.2 */ EMBEDDED_IN_MENU = 1, } /** * Event query type. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 19 */ declare enum EventQueryType { /** * Type of onClick event. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 19 */ ON_CLICK = 0, } /** * Follow position type. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ declare enum TipsAnchorType { /** * Follow the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ TARGET, /** * Follow the cursor. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ CURSOR } /** * Define ColorSpace enumeration. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ declare enum ColorSpace { /** * SRGB ColorSpace. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ SRGB = 0, /** * Display-P3 ColorSpace. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ DISPLAY_P3 = 1, } /** * Define the property type enumeration used in animation. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ declare enum AnimationPropertyType { /** * Rotation angle in the x, y, z direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ ROTATION = 0, /** * Translation in the x and y direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ TRANSLATION = 1, /** * Scale in the x and y direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ SCALE = 2, /** * Opacity. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @atomicservice * @since 20 */ OPACITY = 3, }