/* * 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. */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * common enum of color * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum Color { /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * White. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ White, /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Black. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Black, /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Blue. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Blue, /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Brown. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Brown, /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Gray. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Gray, /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Green. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Green, /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Grey. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Grey, /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Orange. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Orange, /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * color. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Pink, /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Red. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Red, /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Yellow. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Yellow, /** * Transparent. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Transparent. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Transparent, } /** * Common enum of color strategy * * @enum { string } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ declare enum ColoringStrategy { /** * Use the inverse color strategy * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ INVERT = "invert", } /** * Image display mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Image display mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Image display mode. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ Cover, /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Adaptive display * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Keep the original size and display it in the center. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None, } /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Border Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Displays as a series of dots with a radius of half the borderWidth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Shows as a series of short square dashed lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Dashed, /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Shows as a solid line. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Solid, } /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Line Join Style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Connect path segments using bevels. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Connect path segments using sharp corners. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Round, /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Connect path segments using fillets. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 */ 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 */ 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 */ 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 */ 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 */ Cancel, } /** * 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 */ declare enum MouseButton { /** * Mouse Left Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Left Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Left, /** * Mouse Right Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Right Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Right, /** * Mouse Middle Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Middle Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Middle, /** * Mouse Back Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Back Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Back, /** * Mouse Forward Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse Forward Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Forward, /** * Mouse None Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Mouse None Button. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ 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 */ 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 */ Hover } /** * Animation status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Animation status. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 10 * @form */ Initial, /** * The animation is playing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is playing. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Running, /** * The animation is paused. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is paused. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Paused, /** * The animation is stopped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation is stopped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * Indicates that the speed of the animation is the same from start to finish. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ EaseInOut, /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Slow-in, fast-out * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ FastOutSlowIn, /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Linear Out Slow In * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ LinearOutSlowIn, /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Fast Out Linear In. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ FastOutLinearIn, /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Extreme Deceleration. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ ExtremeDeceleration, /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Sharp. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Sharp, /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Rhythm. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Rhythm, /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Smooth. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 10 * @form */ 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 * @since 10 * @form */ 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 * @since 10 * @form */ 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 * @since 10 * @form */ 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 * @since 10 * @form */ Both, } /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Play Mode * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum PlayMode { /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The animation plays normally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Normal, /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The animation plays backwards. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 */ declare enum KeyType { /** * Press the key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Press the key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Down, /** * The key is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The key is released. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ Keyboard, } /** * Edge. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Edge. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ 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 */ End, } /** * Set Weekend * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Set Weekend * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ declare enum Week { /** * Monday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Monday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Mon, /** * Tuesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Tuesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Tue, /** * Wednesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Wednesday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Wed, /** * Thursday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Thursday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Thur, /** * Friday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Friday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Fri, /** * Saturday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Saturday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Sat, /** * Sunday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sunday. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 * @since 9 * @form */ /** * Sets the horizontal layout of elements. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Elements are laid out from left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Elements are laid out from right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Rtl, /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Use the default layout direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Used to set the status of the scroll bar. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum BarState { /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Not displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * On-demand display (displayed when you touch it and disappears after 2 seconds). * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Auto, /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Resident display. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ On, } /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Sliding effect * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ Spring, /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Fade. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Sliding to the edge has no effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None, } /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Alignment enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum Alignment { /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Top Start. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ TopStart, /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The top is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Top, /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Top tail end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The starting end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Start, /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Center horizontal and vertical. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The tail end is centered longitudinally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ End, /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Bottom starting end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ BottomStart, /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The bottom is centered horizontally. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Bottom, /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Bottom end. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ BottomEnd, } /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * TransitionType enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Specifies that the current transition action takes effect in all change scenarios of the component. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Specifies the insertion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Specifies the deletion scenario in which the current transition action takes effect. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 */ 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 */ 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 */ 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 * @since 9 * @form */ /** * Controls the display or hide of the current component * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum Visibility { /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Show * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Hide, but participate in layout for placeholder. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Hides but does not participate in layout and does not take place. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None, } /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * LineCapStyle enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The two ends of the dividing line are parallel lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The two ends of the dividing line are semicircles. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Round, /** * Extends half a circle at the end of the path with a width equal to half the line width and a height equal to the 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 line width and a height equal to the line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Extends half a circle at the end of the path with a width equal to half the line width and a height equal to the line width. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Square, } /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Axis enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum Axis { /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Longitudinal arrangement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Vertical, /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Horizontal arrangement. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Horizontal, } /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * HorizontalAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Aligns the start end in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Aligns the ends in the language direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ End, } /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * FlexAlign enumeration description. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ SpaceEvenly, } /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * ItemAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Use the default configuration in the Flex container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The element is in the Flex container with the cross-axis direction head aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The element is centered in the Flex container with the cross axis direction aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The element is bottom aligned in the Flex container with the cross axis direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Element In the Flex container, the cross-axis direction text baseline is aligned. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ Stretch, } /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * FlexDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The main axis is consistent with the row direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The main axis is consistent with the column direction as the layout mode. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The layout is in the opposite direction to the Row direction. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Layout in the opposite direction to the column. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ ColumnReverse, } /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * FlexWrap enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum FlexWrap { /** * The Flex container has a single row/column layout of elements, and children are 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 allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The Flex container has a single row/column layout of elements, and children are allowed to go beyond the container. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ WrapReverse, } /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * VerticalAlign enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum VerticalAlign { /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Top alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Center alignment. The default alignment mode is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Center, /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Bottom alignment. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Bottom, } /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * ImageRepeat enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Do not draw the picture again. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Repeat the drawing only on the horizontal axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Repeat the drawing only on the vertical axis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Draw the picture repeatedly on both axes. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ XY, } /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * ImageSize enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Keep the scale of the original image unchanged. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Auto, /** * Default value. 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 */ /** * Default value. 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 9 * @form */ /** * Default value. 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 * @since 10 * @form */ 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 * @since 9 * @form */ /** * 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 * @since 10 * @form */ Contain, } /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * GradientDirection enumeration description * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum GradientDirection { /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Right to left. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Left, /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * From the bottom up. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Top, /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * From left to right. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Right, /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * From the top down. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Bottom, /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Top Left * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ LeftTop, /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Left Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ LeftBottom, /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Right Top * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ RightTop, /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Right Bottom * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ RightBottom, /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * None * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 */ 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 */ 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 */ Exchange, } /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Text style * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum FontStyle { /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Normal, /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Italic style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The font weight of the text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Defines a lighter value than [Inherited Value].. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Normal font. Equivalent to a digital value of 400. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Defines a more general value than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Defines a value that is more centered than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Bold. Equivalent to a numeric value of 700. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Defines a value that is heavier than [Inherited Value]. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Bolder, } /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Alignment of text. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum TextAlign { /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Center the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The text is aligned in the same direction as the writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * The text is aligned in the opposite direction of writing * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ End, /** * Justify the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 * @since 9 * @form */ /** * Declare how text overflows. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * When the text overflows its dimensions, the text will not be cropped. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * When the text overflows its dimensions, the text will be cropped and displayed. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Ellipsis, /** * When the text overflows its dimensions, the text will scroll for displaying. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 * @since 9 * @form */ /** * Type of text modifier. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Do not use text decorative lines. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None, /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Underline the words. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Underline, /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Text is in all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * A modifier line that passes through the text. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ 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 * @since 9 * @form */ /** * Letter type in text * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum TextCase { /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The default is normal. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ Normal, /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The text is all lowercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ LowerCase, /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 7 */ /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * The text is all uppercase. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ UpperCase, } /** * Enum of text height adaptation * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ 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 */ declare enum ResponseType { /** * Right click. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Right click. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ RightClick, /** * Long press. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Long press. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ declare enum HoverEffect { /** * Default effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Default effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ Scale, /** * Highlight effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Highlight effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Highlight, /** * None effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * None effect * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ declare enum Placement { /** * Left placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Left placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Left, /** * Right placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Right placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Right, /** * Top placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Top placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Top, /** * Bottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * Bottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ Bottom, /** * TopLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * TopLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ TopLeft, /** * TopRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * TopRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ TopRight, /** * BottomLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * BottomLeft placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ BottomLeft, /** * BottomRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 8 */ /** * BottomRight placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ BottomRight, /** * LeftTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * LeftTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ LeftTop, /** * LeftBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * LeftBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ LeftBottom, /** * RightTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * RightTop placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ RightTop, /** * RightBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * RightBottom placement * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ RightBottom, } /** * Indicates the share option. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Indicates the share option. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ declare enum CopyOptions { /** * Not allow share. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Not allow share. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ None = 0, /** * Share in app. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Share in app. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ InApp = 1, /** * Share in local device. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 * @form */ /** * Share in local device. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 * @form */ LocalDevice = 2, } /** * 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 */ 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 */ 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 */ 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 */ 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 */ None, } /** * Title height. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 9 */ /** * Title height. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ MainWithSub, } /** * Modifier key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ declare enum ModifierKey { /** * ctrl. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ CTRL, /** * shift. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ SHIFT, /** * alt. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ ALT, } /** * Function key for hot key. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ declare enum FunctionKey { /** * Escape key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ ESC, /** * F1 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F1, /** * F2 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F2, /** * F3 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F3, /** * F4 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F4, /** * F5 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F5, /** * F6 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F6, /** * F7 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F7, /** * F8 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F8, /** * F9 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F9, /** * F10 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F10, /** * F11 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F11, /** * F12 key. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ F12, } /** * The alignment of ImageSpan * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ 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 */ TOP, } /** * ObscuredReasons. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ declare enum ObscuredReasons { /** * Displayed data should appear as generic placeholders. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ PLACEHOLDER = 0, } /** * Text content style. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ declare enum TextContentStyle { /** * Text content default style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ DEFAULT, /** * Text content inline style. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ INLINE } /** * Enum of click effect level. * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ HEAVY, } /** * The type of XComponent * * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ declare enum XComponentType { /** * Surface type. The default type is used. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ SURFACE, /** * Component type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ COMPONENT, /** * Texture type. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ TEXTURE, } /** * Nested scroll nested mode * @enum { number } NestedScrollMode * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ declare enum NestedScrollMode { /** * Only Self response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ SELF_ONLY, /** * Self priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ SELF_FIRST, /** * Parent scrollable component priority response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ PARENT_FIRST, /** * Both self and parent scrollable component response scrolling. * * @syscap SystemCapability.ArkUI.ArkUI.Full * @since 10 */ PARALLEL, } /** * Enum of RenderFit * * @enum { number } RenderFit * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ 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 */ RESIZE_COVER_BOTTOM_RIGHT = 15, } /** * The Button Style of dialog, * @enum { number } * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ declare enum DialogButtonStyle { /** * Default Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ DEFAULT = 0, /** * Highlight Style. * @syscap SystemCapability.ArkUI.ArkUI.Full * @crossplatform * @since 10 */ HIGHLIGHT = 1 }