1/* 2 * Copyright (c) 2021-2023 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16/** 17 * @file 18 * @kit ArkUI 19 */ 20 21/** 22 * common enum of the checkbox shape 23 * 24 * @enum { number } 25 * @syscap SystemCapability.ArkUI.ArkUI.Full 26 * @crossplatform 27 * @form 28 * @since 11 29 */ 30/** 31 * common enum of the checkbox shape 32 * 33 * @enum { number } 34 * @syscap SystemCapability.ArkUI.ArkUI.Full 35 * @crossplatform 36 * @form 37 * @atomicservice 38 * @since 12 39 */ 40declare enum CheckBoxShape { 41 /** 42 * Circle. 43 * 44 * @syscap SystemCapability.ArkUI.ArkUI.Full 45 * @crossplatform 46 * @form 47 * @since 11 48 */ 49 /** 50 * Circle. 51 * 52 * @syscap SystemCapability.ArkUI.ArkUI.Full 53 * @crossplatform 54 * @form 55 * @atomicservice 56 * @since 12 57 */ 58 CIRCLE = 0, 59 60 /** 61 * Rounded Square. 62 * 63 * @syscap SystemCapability.ArkUI.ArkUI.Full 64 * @crossplatform 65 * @form 66 * @since 11 67 */ 68 /** 69 * Rounded Square. 70 * 71 * @syscap SystemCapability.ArkUI.ArkUI.Full 72 * @crossplatform 73 * @form 74 * @atomicservice 75 * @since 12 76 */ 77 ROUNDED_SQUARE = 1, 78} 79 80/** 81 * common enum of color 82 * 83 * @enum { number } 84 * @syscap SystemCapability.ArkUI.ArkUI.Full 85 * @since 7 86 */ 87/** 88 * common enum of color 89 * 90 * @enum { number } 91 * @syscap SystemCapability.ArkUI.ArkUI.Full 92 * @form 93 * @since 9 94 */ 95/** 96 * common enum of color 97 * 98 * @enum { number } 99 * @syscap SystemCapability.ArkUI.ArkUI.Full 100 * @crossplatform 101 * @form 102 * @since 10 103 */ 104/** 105 * common enum of color 106 * 107 * @enum { number } 108 * @syscap SystemCapability.ArkUI.ArkUI.Full 109 * @crossplatform 110 * @form 111 * @atomicservice 112 * @since 11 113 */ 114declare enum Color { 115 /** 116 * White. 117 * 118 * @syscap SystemCapability.ArkUI.ArkUI.Full 119 * @since 7 120 */ 121 /** 122 * White. 123 * 124 * @syscap SystemCapability.ArkUI.ArkUI.Full 125 * @form 126 * @since 9 127 */ 128 /** 129 * White. 130 * 131 * @syscap SystemCapability.ArkUI.ArkUI.Full 132 * @crossplatform 133 * @form 134 * @since 10 135 */ 136 /** 137 * White. 138 * 139 * @syscap SystemCapability.ArkUI.ArkUI.Full 140 * @crossplatform 141 * @form 142 * @atomicservice 143 * @since 11 144 */ 145 White, 146 147 /** 148 * Black. 149 * 150 * @syscap SystemCapability.ArkUI.ArkUI.Full 151 * @since 7 152 */ 153 /** 154 * Black. 155 * 156 * @syscap SystemCapability.ArkUI.ArkUI.Full 157 * @form 158 * @since 9 159 */ 160 /** 161 * Black. 162 * 163 * @syscap SystemCapability.ArkUI.ArkUI.Full 164 * @crossplatform 165 * @form 166 * @since 10 167 */ 168 /** 169 * Black. 170 * 171 * @syscap SystemCapability.ArkUI.ArkUI.Full 172 * @crossplatform 173 * @form 174 * @atomicservice 175 * @since 11 176 */ 177 Black, 178 179 /** 180 * Blue. 181 * 182 * @syscap SystemCapability.ArkUI.ArkUI.Full 183 * @since 7 184 */ 185 /** 186 * Blue. 187 * 188 * @syscap SystemCapability.ArkUI.ArkUI.Full 189 * @form 190 * @since 9 191 */ 192 /** 193 * Blue. 194 * 195 * @syscap SystemCapability.ArkUI.ArkUI.Full 196 * @crossplatform 197 * @form 198 * @since 10 199 */ 200 /** 201 * Blue. 202 * 203 * @syscap SystemCapability.ArkUI.ArkUI.Full 204 * @crossplatform 205 * @form 206 * @atomicservice 207 * @since 11 208 */ 209 Blue, 210 211 /** 212 * Brown. 213 * 214 * @syscap SystemCapability.ArkUI.ArkUI.Full 215 * @since 7 216 */ 217 /** 218 * Brown. 219 * 220 * @syscap SystemCapability.ArkUI.ArkUI.Full 221 * @form 222 * @since 9 223 */ 224 /** 225 * Brown. 226 * 227 * @syscap SystemCapability.ArkUI.ArkUI.Full 228 * @crossplatform 229 * @form 230 * @since 10 231 */ 232 /** 233 * Brown. 234 * 235 * @syscap SystemCapability.ArkUI.ArkUI.Full 236 * @crossplatform 237 * @form 238 * @atomicservice 239 * @since 11 240 */ 241 Brown, 242 243 /** 244 * Gray. 245 * 246 * @syscap SystemCapability.ArkUI.ArkUI.Full 247 * @since 7 248 */ 249 /** 250 * Gray. 251 * 252 * @syscap SystemCapability.ArkUI.ArkUI.Full 253 * @form 254 * @since 9 255 */ 256 /** 257 * Gray. 258 * 259 * @syscap SystemCapability.ArkUI.ArkUI.Full 260 * @crossplatform 261 * @form 262 * @since 10 263 */ 264 /** 265 * Gray. 266 * 267 * @syscap SystemCapability.ArkUI.ArkUI.Full 268 * @crossplatform 269 * @form 270 * @atomicservice 271 * @since 11 272 */ 273 Gray, 274 275 /** 276 * Green. 277 * 278 * @syscap SystemCapability.ArkUI.ArkUI.Full 279 * @since 7 280 */ 281 /** 282 * Green. 283 * 284 * @syscap SystemCapability.ArkUI.ArkUI.Full 285 * @form 286 * @since 9 287 */ 288 /** 289 * Green. 290 * 291 * @syscap SystemCapability.ArkUI.ArkUI.Full 292 * @crossplatform 293 * @form 294 * @since 10 295 */ 296 /** 297 * Green. 298 * 299 * @syscap SystemCapability.ArkUI.ArkUI.Full 300 * @crossplatform 301 * @form 302 * @atomicservice 303 * @since 11 304 */ 305 Green, 306 307 /** 308 * Grey. 309 * 310 * @syscap SystemCapability.ArkUI.ArkUI.Full 311 * @since 7 312 */ 313 /** 314 * Grey. 315 * 316 * @syscap SystemCapability.ArkUI.ArkUI.Full 317 * @form 318 * @since 9 319 */ 320 /** 321 * Grey. 322 * 323 * @syscap SystemCapability.ArkUI.ArkUI.Full 324 * @crossplatform 325 * @form 326 * @since 10 327 */ 328 /** 329 * Grey. 330 * 331 * @syscap SystemCapability.ArkUI.ArkUI.Full 332 * @crossplatform 333 * @form 334 * @atomicservice 335 * @since 11 336 */ 337 Grey, 338 339 /** 340 * Orange. 341 * 342 * @syscap SystemCapability.ArkUI.ArkUI.Full 343 * @since 7 344 */ 345 /** 346 * Orange. 347 * 348 * @syscap SystemCapability.ArkUI.ArkUI.Full 349 * @form 350 * @since 9 351 */ 352 /** 353 * Orange. 354 * 355 * @syscap SystemCapability.ArkUI.ArkUI.Full 356 * @crossplatform 357 * @form 358 * @since 10 359 */ 360 /** 361 * Orange. 362 * 363 * @syscap SystemCapability.ArkUI.ArkUI.Full 364 * @crossplatform 365 * @form 366 * @atomicservice 367 * @since 11 368 */ 369 Orange, 370 371 /** 372 * color. 373 * 374 * @syscap SystemCapability.ArkUI.ArkUI.Full 375 * @since 7 376 */ 377 /** 378 * color. 379 * 380 * @syscap SystemCapability.ArkUI.ArkUI.Full 381 * @form 382 * @since 9 383 */ 384 /** 385 * color. 386 * 387 * @syscap SystemCapability.ArkUI.ArkUI.Full 388 * @crossplatform 389 * @form 390 * @since 10 391 */ 392 /** 393 * color. 394 * 395 * @syscap SystemCapability.ArkUI.ArkUI.Full 396 * @crossplatform 397 * @form 398 * @atomicservice 399 * @since 11 400 */ 401 Pink, 402 403 /** 404 * Red. 405 * 406 * @syscap SystemCapability.ArkUI.ArkUI.Full 407 * @since 7 408 */ 409 /** 410 * Red. 411 * 412 * @syscap SystemCapability.ArkUI.ArkUI.Full 413 * @form 414 * @since 9 415 */ 416 /** 417 * Red. 418 * 419 * @syscap SystemCapability.ArkUI.ArkUI.Full 420 * @crossplatform 421 * @form 422 * @since 10 423 */ 424 /** 425 * Red. 426 * 427 * @syscap SystemCapability.ArkUI.ArkUI.Full 428 * @crossplatform 429 * @form 430 * @atomicservice 431 * @since 11 432 */ 433 Red, 434 435 /** 436 * Yellow. 437 * 438 * @syscap SystemCapability.ArkUI.ArkUI.Full 439 * @since 7 440 */ 441 /** 442 * Yellow. 443 * 444 * @syscap SystemCapability.ArkUI.ArkUI.Full 445 * @form 446 * @since 9 447 */ 448 /** 449 * Yellow. 450 * 451 * @syscap SystemCapability.ArkUI.ArkUI.Full 452 * @crossplatform 453 * @form 454 * @since 10 455 */ 456 /** 457 * Yellow. 458 * 459 * @syscap SystemCapability.ArkUI.ArkUI.Full 460 * @crossplatform 461 * @form 462 * @atomicservice 463 * @since 11 464 */ 465 Yellow, 466 467 /** 468 * Transparent. 469 * 470 * @syscap SystemCapability.ArkUI.ArkUI.Full 471 * @form 472 * @since 9 473 */ 474 /** 475 * Transparent. 476 * 477 * @syscap SystemCapability.ArkUI.ArkUI.Full 478 * @crossplatform 479 * @form 480 * @since 10 481 */ 482 /** 483 * Transparent. 484 * 485 * @syscap SystemCapability.ArkUI.ArkUI.Full 486 * @crossplatform 487 * @form 488 * @atomicservice 489 * @since 11 490 */ 491 Transparent, 492} 493 494/** 495 * Common enum of color strategy 496 * 497 * @enum { string } 498 * @syscap SystemCapability.ArkUI.ArkUI.Full 499 * @crossplatform 500 * @since 10 501 */ 502/** 503 * Common enum of color strategy 504 * 505 * @enum { string } 506 * @syscap SystemCapability.ArkUI.ArkUI.Full 507 * @crossplatform 508 * @atomicservice 509 * @since 11 510 */ 511declare enum ColoringStrategy { 512 /** 513 * Use the inverse color strategy. Gets the inverse of the background color. Only applies to foregroundColor. 514 * 515 * @syscap SystemCapability.ArkUI.ArkUI.Full 516 * @crossplatform 517 * @since 10 518 */ 519 /** 520 * Use the inverse color strategy. Gets the inverse of the background color. Only applies to foregroundColor. 521 * 522 * @syscap SystemCapability.ArkUI.ArkUI.Full 523 * @crossplatform 524 * @atomicservice 525 * @since 11 526 */ 527 INVERT = 'invert', 528 529 /** 530 * Use the average color strategy. Get the average color of the background. Only applies to shadow. 531 * 532 * @syscap SystemCapability.ArkUI.ArkUI.Full 533 * @crossplatform 534 * @since 11 535 */ 536 /** 537 * Use the average color strategy. Get the average color of the background. Only applies to shadow. 538 * 539 * @syscap SystemCapability.ArkUI.ArkUI.Full 540 * @crossplatform 541 * @atomicservice 542 * @since 12 543 */ 544 AVERAGE = 'average', 545 546 /** 547 * Use the primary color strategy. Get the color that dominate the background color. Only applies to shadow. 548 * 549 * @syscap SystemCapability.ArkUI.ArkUI.Full 550 * @crossplatform 551 * @since 11 552 */ 553 /** 554 * Use the primary color strategy. Get the color that dominate the background color. Only applies to shadow. 555 * 556 * @syscap SystemCapability.ArkUI.ArkUI.Full 557 * @crossplatform 558 * @atomicservice 559 * @since 12 560 */ 561 PRIMARY = 'primary', 562} 563 564/** 565 * Image display mode 566 * 567 * @enum { number } 568 * @syscap SystemCapability.ArkUI.ArkUI.Full 569 * @since 7 570 */ 571/** 572 * Image display mode. 573 * 574 * @enum { number } 575 * @syscap SystemCapability.ArkUI.ArkUI.Full 576 * @form 577 * @since 9 578 */ 579/** 580 * Image display mode. 581 * 582 * @enum { number } 583 * @syscap SystemCapability.ArkUI.ArkUI.Full 584 * @crossplatform 585 * @form 586 * @since 10 587 */ 588/** 589 * Image display mode. 590 * 591 * @enum { number } 592 * @syscap SystemCapability.ArkUI.ArkUI.Full 593 * @crossplatform 594 * @form 595 * @atomicservice 596 * @since 11 597 */ 598declare enum ImageFit { 599 /** 600 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 601 * 602 * @syscap SystemCapability.ArkUI.ArkUI.Full 603 * @since 7 604 */ 605 /** 606 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 607 * 608 * @syscap SystemCapability.ArkUI.ArkUI.Full 609 * @form 610 * @since 9 611 */ 612 /** 613 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 614 * 615 * @syscap SystemCapability.ArkUI.ArkUI.Full 616 * @crossplatform 617 * @form 618 * @since 10 619 */ 620 /** 621 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 622 * 623 * @syscap SystemCapability.ArkUI.ArkUI.Full 624 * @crossplatform 625 * @form 626 * @atomicservice 627 * @since 11 628 */ 629 Contain, 630 631 /** 632 * 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. 633 * 634 * @syscap SystemCapability.ArkUI.ArkUI.Full 635 * @since 7 636 */ 637 /** 638 * 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. 639 * 640 * @syscap SystemCapability.ArkUI.ArkUI.Full 641 * @form 642 * @since 9 643 */ 644 /** 645 * 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. 646 * 647 * @syscap SystemCapability.ArkUI.ArkUI.Full 648 * @crossplatform 649 * @form 650 * @since 10 651 */ 652 /** 653 * 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. 654 * 655 * @syscap SystemCapability.ArkUI.ArkUI.Full 656 * @crossplatform 657 * @form 658 * @atomicservice 659 * @since 11 660 */ 661 Cover, 662 663 /** 664 * Adaptive display 665 * 666 * @syscap SystemCapability.ArkUI.ArkUI.Full 667 * @since 7 668 */ 669 /** 670 * Adaptive display 671 * 672 * @syscap SystemCapability.ArkUI.ArkUI.Full 673 * @form 674 * @since 9 675 */ 676 /** 677 * Adaptive display 678 * 679 * @syscap SystemCapability.ArkUI.ArkUI.Full 680 * @crossplatform 681 * @form 682 * @since 10 683 */ 684 /** 685 * Adaptive display 686 * 687 * @syscap SystemCapability.ArkUI.ArkUI.Full 688 * @crossplatform 689 * @form 690 * @atomicservice 691 * @since 11 692 */ 693 Auto, 694 695 /** 696 * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. 697 * 698 * @syscap SystemCapability.ArkUI.ArkUI.Full 699 * @since 7 700 */ 701 /** 702 * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. 703 * 704 * @syscap SystemCapability.ArkUI.ArkUI.Full 705 * @form 706 * @since 9 707 */ 708 /** 709 * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. 710 * 711 * @syscap SystemCapability.ArkUI.ArkUI.Full 712 * @crossplatform 713 * @form 714 * @since 10 715 */ 716 /** 717 * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. 718 * 719 * @syscap SystemCapability.ArkUI.ArkUI.Full 720 * @crossplatform 721 * @form 722 * @atomicservice 723 * @since 11 724 */ 725 Fill, 726 727 /** 728 * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. 729 * 730 * @syscap SystemCapability.ArkUI.ArkUI.Full 731 * @since 7 732 */ 733 /** 734 * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. 735 * 736 * @syscap SystemCapability.ArkUI.ArkUI.Full 737 * @form 738 * @since 9 739 */ 740 /** 741 * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. 742 * 743 * @syscap SystemCapability.ArkUI.ArkUI.Full 744 * @crossplatform 745 * @form 746 * @since 10 747 */ 748 /** 749 * Keep the aspect ratio displayed, and the image zooms out or remains unchanged. 750 * 751 * @syscap SystemCapability.ArkUI.ArkUI.Full 752 * @crossplatform 753 * @form 754 * @atomicservice 755 * @since 11 756 */ 757 ScaleDown, 758 759 /** 760 * Keep the original size and display it in the center. 761 * 762 * @syscap SystemCapability.ArkUI.ArkUI.Full 763 * @since 7 764 */ 765 /** 766 * Keep the original size and display it in the center. 767 * 768 * @syscap SystemCapability.ArkUI.ArkUI.Full 769 * @form 770 * @since 9 771 */ 772 /** 773 * Keep the original size and display it in the center. 774 * 775 * @syscap SystemCapability.ArkUI.ArkUI.Full 776 * @crossplatform 777 * @form 778 * @since 10 779 */ 780 /** 781 * Keep the original size and display it in the center. 782 * 783 * @syscap SystemCapability.ArkUI.ArkUI.Full 784 * @crossplatform 785 * @form 786 * @atomicservice 787 * @since 11 788 */ 789 None, 790 791 /** 792 * Top Start. 793 * 794 * @syscap SystemCapability.ArkUI.ArkUI.Full 795 * @crossplatform 796 * @form 797 * @atomicservice 798 * @since 12 799 */ 800 TOP_START = 7, 801 802 /** 803 * The top is centered horizontally. 804 * 805 * @syscap SystemCapability.ArkUI.ArkUI.Full 806 * @crossplatform 807 * @form 808 * @atomicservice 809 * @since 12 810 */ 811 TOP = 8, 812 813 /** 814 * Top tail end. 815 * 816 * @syscap SystemCapability.ArkUI.ArkUI.Full 817 * @crossplatform 818 * @form 819 * @atomicservice 820 * @since 12 821 */ 822 TOP_END = 9, 823 824 /** 825 * The starting end is centered longitudinally. 826 * 827 * @syscap SystemCapability.ArkUI.ArkUI.Full 828 * @crossplatform 829 * @form 830 * @atomicservice 831 * @since 12 832 */ 833 START = 10, 834 835 /** 836 * Center horizontal and vertical. 837 * 838 * @syscap SystemCapability.ArkUI.ArkUI.Full 839 * @crossplatform 840 * @form 841 * @atomicservice 842 * @since 12 843 */ 844 CENTER = 11, 845 846 /** 847 * The tail end is centered longitudinally. 848 * 849 * @syscap SystemCapability.ArkUI.ArkUI.Full 850 * @crossplatform 851 * @form 852 * @atomicservice 853 * @since 12 854 */ 855 END = 12, 856 857 /** 858 * Bottom starting end. 859 * 860 * @syscap SystemCapability.ArkUI.ArkUI.Full 861 * @crossplatform 862 * @form 863 * @atomicservice 864 * @since 12 865 */ 866 BOTTOM_START = 13, 867 868 /** 869 * The bottom is centered horizontally. 870 * 871 * @syscap SystemCapability.ArkUI.ArkUI.Full 872 * @crossplatform 873 * @form 874 * @atomicservice 875 * @since 12 876 */ 877 BOTTOM = 14, 878 879 /** 880 * Bottom end. 881 * 882 * @syscap SystemCapability.ArkUI.ArkUI.Full 883 * @crossplatform 884 * @form 885 * @atomicservice 886 * @since 12 887 */ 888 BOTTOM_END = 15, 889} 890 891/** 892 * Border Style 893 * 894 * @enum { number } 895 * @syscap SystemCapability.ArkUI.ArkUI.Full 896 * @since 7 897 */ 898/** 899 * Border Style 900 * 901 * @enum { number } 902 * @syscap SystemCapability.ArkUI.ArkUI.Full 903 * @form 904 * @since 9 905 */ 906/** 907 * Border Style 908 * 909 * @enum { number } 910 * @syscap SystemCapability.ArkUI.ArkUI.Full 911 * @crossplatform 912 * @form 913 * @since 10 914 */ 915/** 916 * Border Style 917 * 918 * @enum { number } 919 * @syscap SystemCapability.ArkUI.ArkUI.Full 920 * @crossplatform 921 * @form 922 * @atomicservice 923 * @since 11 924 */ 925declare enum BorderStyle { 926 /** 927 * Displays as a series of dots with a radius of half the borderWidth. 928 * 929 * @syscap SystemCapability.ArkUI.ArkUI.Full 930 * @since 7 931 */ 932 /** 933 * Displays as a series of dots with a radius of half the borderWidth. 934 * 935 * @syscap SystemCapability.ArkUI.ArkUI.Full 936 * @form 937 * @since 9 938 */ 939 /** 940 * Displays as a series of dots with a radius of half the borderWidth. 941 * 942 * @syscap SystemCapability.ArkUI.ArkUI.Full 943 * @crossplatform 944 * @form 945 * @since 10 946 */ 947 /** 948 * Displays as a series of dots with a radius of half the borderWidth. 949 * 950 * @syscap SystemCapability.ArkUI.ArkUI.Full 951 * @crossplatform 952 * @form 953 * @atomicservice 954 * @since 11 955 */ 956 Dotted, 957 958 /** 959 * Shows as a series of short square dashed lines. 960 * 961 * @syscap SystemCapability.ArkUI.ArkUI.Full 962 * @since 7 963 */ 964 /** 965 * Shows as a series of short square dashed lines. 966 * 967 * @syscap SystemCapability.ArkUI.ArkUI.Full 968 * @form 969 * @since 9 970 */ 971 /** 972 * Shows as a series of short square dashed lines. 973 * 974 * @syscap SystemCapability.ArkUI.ArkUI.Full 975 * @crossplatform 976 * @form 977 * @since 10 978 */ 979 /** 980 * Shows as a series of short square dashed lines. 981 * 982 * @syscap SystemCapability.ArkUI.ArkUI.Full 983 * @crossplatform 984 * @form 985 * @atomicservice 986 * @since 11 987 */ 988 Dashed, 989 990 /** 991 * Shows as a solid line. 992 * 993 * @syscap SystemCapability.ArkUI.ArkUI.Full 994 * @since 7 995 */ 996 /** 997 * Shows as a solid line. 998 * 999 * @syscap SystemCapability.ArkUI.ArkUI.Full 1000 * @form 1001 * @since 9 1002 */ 1003 /** 1004 * Shows as a solid line. 1005 * 1006 * @syscap SystemCapability.ArkUI.ArkUI.Full 1007 * @crossplatform 1008 * @form 1009 * @since 10 1010 */ 1011 /** 1012 * Shows as a solid line. 1013 * 1014 * @syscap SystemCapability.ArkUI.ArkUI.Full 1015 * @crossplatform 1016 * @form 1017 * @atomicservice 1018 * @since 11 1019 */ 1020 Solid, 1021} 1022 1023/** 1024 * Line Join Style 1025 * 1026 * @enum { number } 1027 * @syscap SystemCapability.ArkUI.ArkUI.Full 1028 * @since 7 1029 */ 1030/** 1031 * Line Join Style 1032 * 1033 * @enum { number } 1034 * @syscap SystemCapability.ArkUI.ArkUI.Full 1035 * @form 1036 * @since 9 1037 */ 1038/** 1039 * Line Join Style 1040 * 1041 * @enum { number } 1042 * @syscap SystemCapability.ArkUI.ArkUI.Full 1043 * @crossplatform 1044 * @form 1045 * @since 10 1046 */ 1047/** 1048 * Line Join Style 1049 * 1050 * @enum { number } 1051 * @syscap SystemCapability.ArkUI.ArkUI.Full 1052 * @crossplatform 1053 * @form 1054 * @atomicservice 1055 * @since 11 1056 */ 1057declare enum LineJoinStyle { 1058 /** 1059 * Connect path segments using bevels. 1060 * 1061 * @syscap SystemCapability.ArkUI.ArkUI.Full 1062 * @since 7 1063 */ 1064 /** 1065 * Connect path segments using bevels. 1066 * 1067 * @syscap SystemCapability.ArkUI.ArkUI.Full 1068 * @form 1069 * @since 9 1070 */ 1071 /** 1072 * Connect path segments using bevels. 1073 * 1074 * @syscap SystemCapability.ArkUI.ArkUI.Full 1075 * @crossplatform 1076 * @form 1077 * @since 10 1078 */ 1079 /** 1080 * Connect path segments using bevels. 1081 * 1082 * @syscap SystemCapability.ArkUI.ArkUI.Full 1083 * @crossplatform 1084 * @form 1085 * @atomicservice 1086 * @since 11 1087 */ 1088 Miter, 1089 1090 /** 1091 * Connect path segments using sharp corners. 1092 * 1093 * @syscap SystemCapability.ArkUI.ArkUI.Full 1094 * @since 7 1095 */ 1096 /** 1097 * Connect path segments using sharp corners. 1098 * 1099 * @syscap SystemCapability.ArkUI.ArkUI.Full 1100 * @form 1101 * @since 9 1102 */ 1103 /** 1104 * Connect path segments using sharp corners. 1105 * 1106 * @syscap SystemCapability.ArkUI.ArkUI.Full 1107 * @crossplatform 1108 * @form 1109 * @since 10 1110 */ 1111 /** 1112 * Connect path segments using sharp corners. 1113 * 1114 * @syscap SystemCapability.ArkUI.ArkUI.Full 1115 * @crossplatform 1116 * @form 1117 * @atomicservice 1118 * @since 11 1119 */ 1120 Round, 1121 1122 /** 1123 * Connect path segments using fillets. 1124 * 1125 * @syscap SystemCapability.ArkUI.ArkUI.Full 1126 * @since 7 1127 */ 1128 /** 1129 * Connect path segments using fillets. 1130 * 1131 * @syscap SystemCapability.ArkUI.ArkUI.Full 1132 * @form 1133 * @since 9 1134 */ 1135 /** 1136 * Connect path segments using fillets. 1137 * 1138 * @syscap SystemCapability.ArkUI.ArkUI.Full 1139 * @crossplatform 1140 * @form 1141 * @since 10 1142 */ 1143 /** 1144 * Connect path segments using fillets. 1145 * 1146 * @syscap SystemCapability.ArkUI.ArkUI.Full 1147 * @crossplatform 1148 * @form 1149 * @atomicservice 1150 * @since 11 1151 */ 1152 Bevel, 1153} 1154 1155/** 1156 * Function Called by Touch 1157 * 1158 * @enum { number } 1159 * @syscap SystemCapability.ArkUI.ArkUI.Full 1160 * @since 7 1161 */ 1162/** 1163 * Function Called by Touch 1164 * 1165 * @enum { number } 1166 * @syscap SystemCapability.ArkUI.ArkUI.Full 1167 * @crossplatform 1168 * @since 10 1169 */ 1170/** 1171 * Function Called by Touch 1172 * 1173 * @enum { number } 1174 * @syscap SystemCapability.ArkUI.ArkUI.Full 1175 * @crossplatform 1176 * @atomicservice 1177 * @since 11 1178 */ 1179declare enum TouchType { 1180 /** 1181 * Triggered when the finger is pressed. 1182 * 1183 * @syscap SystemCapability.ArkUI.ArkUI.Full 1184 * @since 7 1185 */ 1186 /** 1187 * Triggered when the finger is pressed. 1188 * 1189 * @syscap SystemCapability.ArkUI.ArkUI.Full 1190 * @crossplatform 1191 * @since 10 1192 */ 1193 /** 1194 * Triggered when the finger is pressed. 1195 * 1196 * @syscap SystemCapability.ArkUI.ArkUI.Full 1197 * @crossplatform 1198 * @atomicservice 1199 * @since 11 1200 */ 1201 Down, 1202 1203 /** 1204 * Triggered when the finger is raised. 1205 * 1206 * @syscap SystemCapability.ArkUI.ArkUI.Full 1207 * @since 7 1208 */ 1209 /** 1210 * Triggered when the finger is raised. 1211 * 1212 * @syscap SystemCapability.ArkUI.ArkUI.Full 1213 * @crossplatform 1214 * @since 10 1215 */ 1216 /** 1217 * Triggered when the finger is raised. 1218 * 1219 * @syscap SystemCapability.ArkUI.ArkUI.Full 1220 * @crossplatform 1221 * @atomicservice 1222 * @since 11 1223 */ 1224 Up, 1225 1226 /** 1227 * Triggered when the finger presses on the screen. 1228 * 1229 * @syscap SystemCapability.ArkUI.ArkUI.Full 1230 * @since 7 1231 */ 1232 /** 1233 * Triggered when the finger presses on the screen. 1234 * 1235 * @syscap SystemCapability.ArkUI.ArkUI.Full 1236 * @crossplatform 1237 * @since 10 1238 */ 1239 /** 1240 * Triggered when the finger presses on the screen. 1241 * 1242 * @syscap SystemCapability.ArkUI.ArkUI.Full 1243 * @crossplatform 1244 * @atomicservice 1245 * @since 11 1246 */ 1247 Move, 1248 1249 /** 1250 * Triggers when the touch event cancels. 1251 * 1252 * @syscap SystemCapability.ArkUI.ArkUI.Full 1253 * @since 7 1254 */ 1255 /** 1256 * Triggers when the touch event cancels. 1257 * 1258 * @syscap SystemCapability.ArkUI.ArkUI.Full 1259 * @crossplatform 1260 * @since 10 1261 */ 1262 /** 1263 * Triggers when the touch event cancels. 1264 * 1265 * @syscap SystemCapability.ArkUI.ArkUI.Full 1266 * @crossplatform 1267 * @atomicservice 1268 * @since 11 1269 */ 1270 Cancel, 1271} 1272 1273/** 1274 * Function Called by Mouse 1275 * 1276 * @enum { number } 1277 * @syscap SystemCapability.ArkUI.ArkUI.Full 1278 * @since 8 1279 */ 1280/** 1281 * Function Called by Mouse 1282 * 1283 * @enum { number } 1284 * @syscap SystemCapability.ArkUI.ArkUI.Full 1285 * @crossplatform 1286 * @since 10 1287 */ 1288/** 1289 * Function Called by Mouse 1290 * 1291 * @enum { number } 1292 * @syscap SystemCapability.ArkUI.ArkUI.Full 1293 * @crossplatform 1294 * @atomicservice 1295 * @since 11 1296 */ 1297declare enum MouseButton { 1298 /** 1299 * Mouse Left Button. 1300 * 1301 * @syscap SystemCapability.ArkUI.ArkUI.Full 1302 * @since 8 1303 */ 1304 /** 1305 * Mouse Left Button. 1306 * 1307 * @syscap SystemCapability.ArkUI.ArkUI.Full 1308 * @crossplatform 1309 * @since 10 1310 */ 1311 /** 1312 * Mouse Left Button. 1313 * 1314 * @syscap SystemCapability.ArkUI.ArkUI.Full 1315 * @crossplatform 1316 * @atomicservice 1317 * @since 11 1318 */ 1319 Left, 1320 1321 /** 1322 * Mouse Right Button. 1323 * 1324 * @syscap SystemCapability.ArkUI.ArkUI.Full 1325 * @since 8 1326 */ 1327 /** 1328 * Mouse Right Button. 1329 * 1330 * @syscap SystemCapability.ArkUI.ArkUI.Full 1331 * @crossplatform 1332 * @since 10 1333 */ 1334 /** 1335 * Mouse Right Button. 1336 * 1337 * @syscap SystemCapability.ArkUI.ArkUI.Full 1338 * @crossplatform 1339 * @atomicservice 1340 * @since 11 1341 */ 1342 Right, 1343 1344 /** 1345 * Mouse Middle Button. 1346 * 1347 * @syscap SystemCapability.ArkUI.ArkUI.Full 1348 * @since 8 1349 */ 1350 /** 1351 * Mouse Middle Button. 1352 * 1353 * @syscap SystemCapability.ArkUI.ArkUI.Full 1354 * @crossplatform 1355 * @since 10 1356 */ 1357 /** 1358 * Mouse Middle Button. 1359 * 1360 * @syscap SystemCapability.ArkUI.ArkUI.Full 1361 * @crossplatform 1362 * @atomicservice 1363 * @since 11 1364 */ 1365 Middle, 1366 1367 /** 1368 * Mouse Back Button. 1369 * 1370 * @syscap SystemCapability.ArkUI.ArkUI.Full 1371 * @since 8 1372 */ 1373 /** 1374 * Mouse Back Button. 1375 * 1376 * @syscap SystemCapability.ArkUI.ArkUI.Full 1377 * @crossplatform 1378 * @since 10 1379 */ 1380 /** 1381 * Mouse Back Button. 1382 * 1383 * @syscap SystemCapability.ArkUI.ArkUI.Full 1384 * @crossplatform 1385 * @atomicservice 1386 * @since 11 1387 */ 1388 Back, 1389 1390 /** 1391 * Mouse Forward Button. 1392 * 1393 * @syscap SystemCapability.ArkUI.ArkUI.Full 1394 * @since 8 1395 */ 1396 /** 1397 * Mouse Forward Button. 1398 * 1399 * @syscap SystemCapability.ArkUI.ArkUI.Full 1400 * @crossplatform 1401 * @since 10 1402 */ 1403 /** 1404 * Mouse Forward Button. 1405 * 1406 * @syscap SystemCapability.ArkUI.ArkUI.Full 1407 * @crossplatform 1408 * @atomicservice 1409 * @since 11 1410 */ 1411 Forward, 1412 1413 /** 1414 * Mouse None Button. 1415 * 1416 * @syscap SystemCapability.ArkUI.ArkUI.Full 1417 * @since 8 1418 */ 1419 /** 1420 * Mouse None Button. 1421 * 1422 * @syscap SystemCapability.ArkUI.ArkUI.Full 1423 * @crossplatform 1424 * @since 10 1425 */ 1426 /** 1427 * Mouse None Button. 1428 * 1429 * @syscap SystemCapability.ArkUI.ArkUI.Full 1430 * @crossplatform 1431 * @atomicservice 1432 * @since 11 1433 */ 1434 None, 1435} 1436 1437/** 1438 * Function Called by Mouse 1439 * 1440 * @enum { number } 1441 * @syscap SystemCapability.ArkUI.ArkUI.Full 1442 * @since 8 1443 */ 1444/** 1445 * Function Called by Mouse 1446 * 1447 * @enum { number } 1448 * @syscap SystemCapability.ArkUI.ArkUI.Full 1449 * @crossplatform 1450 * @since 10 1451 */ 1452/** 1453 * Function Called by Mouse 1454 * 1455 * @enum { number } 1456 * @syscap SystemCapability.ArkUI.ArkUI.Full 1457 * @crossplatform 1458 * @atomicservice 1459 * @since 11 1460 */ 1461declare enum MouseAction { 1462 /** 1463 * Triggered when the mouse is pressed. 1464 * 1465 * @syscap SystemCapability.ArkUI.ArkUI.Full 1466 * @since 8 1467 */ 1468 /** 1469 * Triggered when the mouse is pressed. 1470 * 1471 * @syscap SystemCapability.ArkUI.ArkUI.Full 1472 * @crossplatform 1473 * @since 10 1474 */ 1475 /** 1476 * Triggered when the mouse is pressed. 1477 * 1478 * @syscap SystemCapability.ArkUI.ArkUI.Full 1479 * @crossplatform 1480 * @atomicservice 1481 * @since 11 1482 */ 1483 Press, 1484 1485 /** 1486 * Triggered when the mouse is released. 1487 * 1488 * @syscap SystemCapability.ArkUI.ArkUI.Full 1489 * @since 8 1490 */ 1491 /** 1492 * Triggered when the mouse is released. 1493 * 1494 * @syscap SystemCapability.ArkUI.ArkUI.Full 1495 * @crossplatform 1496 * @since 10 1497 */ 1498 /** 1499 * Triggered when the mouse is released. 1500 * 1501 * @syscap SystemCapability.ArkUI.ArkUI.Full 1502 * @crossplatform 1503 * @atomicservice 1504 * @since 11 1505 */ 1506 Release, 1507 1508 /** 1509 * Triggered when the mouse is Moved. 1510 * 1511 * @syscap SystemCapability.ArkUI.ArkUI.Full 1512 * @since 8 1513 */ 1514 /** 1515 * Triggered when the mouse is Moved. 1516 * 1517 * @syscap SystemCapability.ArkUI.ArkUI.Full 1518 * @crossplatform 1519 * @since 10 1520 */ 1521 /** 1522 * Triggered when the mouse is Moved. 1523 * 1524 * @syscap SystemCapability.ArkUI.ArkUI.Full 1525 * @crossplatform 1526 * @atomicservice 1527 * @since 11 1528 */ 1529 Move, 1530 1531 /** 1532 * Triggered when the mouse is Hovered. 1533 * 1534 * @syscap SystemCapability.ArkUI.ArkUI.Full 1535 * @since 8 1536 */ 1537 /** 1538 * Triggered when the mouse is Hovered. 1539 * 1540 * @syscap SystemCapability.ArkUI.ArkUI.Full 1541 * @crossplatform 1542 * @since 10 1543 */ 1544 /** 1545 * Triggered when the mouse is Hovered. 1546 * 1547 * @syscap SystemCapability.ArkUI.ArkUI.Full 1548 * @crossplatform 1549 * @atomicservice 1550 * @since 11 1551 */ 1552 Hover 1553} 1554 1555/** 1556 * Animation status. 1557 * 1558 * @enum { number } 1559 * @syscap SystemCapability.ArkUI.ArkUI.Full 1560 * @since 7 1561 */ 1562/** 1563 * Animation status. 1564 * 1565 * @enum { number } 1566 * @syscap SystemCapability.ArkUI.ArkUI.Full 1567 * @crossplatform 1568 * @form 1569 * @since 10 1570 */ 1571/** 1572 * Animation status. 1573 * 1574 * @enum { number } 1575 * @syscap SystemCapability.ArkUI.ArkUI.Full 1576 * @crossplatform 1577 * @form 1578 * @atomicservice 1579 * @since 11 1580 */ 1581declare enum AnimationStatus { 1582 /** 1583 * Initial state of the animation. 1584 * 1585 * @syscap SystemCapability.ArkUI.ArkUI.Full 1586 * @since 7 1587 */ 1588 /** 1589 * Initial state of the animation. 1590 * 1591 * @syscap SystemCapability.ArkUI.ArkUI.Full 1592 * @crossplatform 1593 * @form 1594 * @since 10 1595 */ 1596 /** 1597 * Initial state of the animation. 1598 * 1599 * @syscap SystemCapability.ArkUI.ArkUI.Full 1600 * @crossplatform 1601 * @form 1602 * @atomicservice 1603 * @since 11 1604 */ 1605 Initial, 1606 1607 /** 1608 * The animation is playing. 1609 * 1610 * @syscap SystemCapability.ArkUI.ArkUI.Full 1611 * @since 7 1612 */ 1613 /** 1614 * The animation is playing. 1615 * 1616 * @syscap SystemCapability.ArkUI.ArkUI.Full 1617 * @crossplatform 1618 * @form 1619 * @since 10 1620 */ 1621 /** 1622 * The animation is playing. 1623 * 1624 * @syscap SystemCapability.ArkUI.ArkUI.Full 1625 * @crossplatform 1626 * @form 1627 * @atomicservice 1628 * @since 11 1629 */ 1630 Running, 1631 1632 /** 1633 * The animation is paused. 1634 * 1635 * @syscap SystemCapability.ArkUI.ArkUI.Full 1636 * @since 7 1637 */ 1638 /** 1639 * The animation is paused. 1640 * 1641 * @syscap SystemCapability.ArkUI.ArkUI.Full 1642 * @crossplatform 1643 * @form 1644 * @since 10 1645 */ 1646 /** 1647 * The animation is paused. 1648 * 1649 * @syscap SystemCapability.ArkUI.ArkUI.Full 1650 * @crossplatform 1651 * @form 1652 * @atomicservice 1653 * @since 11 1654 */ 1655 Paused, 1656 1657 /** 1658 * The animation is stopped. 1659 * 1660 * @syscap SystemCapability.ArkUI.ArkUI.Full 1661 * @since 7 1662 */ 1663 /** 1664 * The animation is stopped. 1665 * 1666 * @syscap SystemCapability.ArkUI.ArkUI.Full 1667 * @crossplatform 1668 * @form 1669 * @since 10 1670 */ 1671 /** 1672 * The animation is stopped. 1673 * 1674 * @syscap SystemCapability.ArkUI.ArkUI.Full 1675 * @crossplatform 1676 * @form 1677 * @atomicservice 1678 * @since 11 1679 */ 1680 Stopped, 1681} 1682 1683/** 1684 * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. 1685 * 1686 * @enum { number } 1687 * @syscap SystemCapability.ArkUI.ArkUI.Full 1688 * @since 7 1689 */ 1690/** 1691 * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. 1692 * 1693 * @enum { number } 1694 * @syscap SystemCapability.ArkUI.ArkUI.Full 1695 * @form 1696 * @since 9 1697 */ 1698/** 1699 * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. 1700 * 1701 * @enum { number } 1702 * @syscap SystemCapability.ArkUI.ArkUI.Full 1703 * @crossplatform 1704 * @form 1705 * @since 10 1706 */ 1707/** 1708 * Sets the animation playback mode. By default, the animation starts to play again after the playback is complete. 1709 * 1710 * @enum { number } 1711 * @syscap SystemCapability.ArkUI.ArkUI.Full 1712 * @crossplatform 1713 * @form 1714 * @atomicservice 1715 * @since 11 1716 */ 1717declare enum Curve { 1718 /** 1719 * Indicates that the speed of the animation is the same from start to finish. 1720 * 1721 * @syscap SystemCapability.ArkUI.ArkUI.Full 1722 * @since 7 1723 */ 1724 /** 1725 * Indicates that the speed of the animation is the same from start to finish. 1726 * 1727 * @syscap SystemCapability.ArkUI.ArkUI.Full 1728 * @form 1729 * @since 9 1730 */ 1731 /** 1732 * Indicates that the speed of the animation is the same from start to finish. 1733 * 1734 * @syscap SystemCapability.ArkUI.ArkUI.Full 1735 * @crossplatform 1736 * @form 1737 * @since 10 1738 */ 1739 /** 1740 * Indicates that the speed of the animation is the same from start to finish. 1741 * 1742 * @syscap SystemCapability.ArkUI.ArkUI.Full 1743 * @crossplatform 1744 * @form 1745 * @atomicservice 1746 * @since 11 1747 */ 1748 Linear, 1749 1750 /** 1751 * 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). 1752 * 1753 * @syscap SystemCapability.ArkUI.ArkUI.Full 1754 * @since 7 1755 */ 1756 /** 1757 * 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). 1758 * 1759 * @syscap SystemCapability.ArkUI.ArkUI.Full 1760 * @form 1761 * @since 9 1762 */ 1763 /** 1764 * 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). 1765 * 1766 * @syscap SystemCapability.ArkUI.ArkUI.Full 1767 * @crossplatform 1768 * @form 1769 * @since 10 1770 */ 1771 /** 1772 * 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). 1773 * 1774 * @syscap SystemCapability.ArkUI.ArkUI.Full 1775 * @crossplatform 1776 * @form 1777 * @atomicservice 1778 * @since 11 1779 */ 1780 Ease, 1781 1782 /** 1783 * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). 1784 * 1785 * @syscap SystemCapability.ArkUI.ArkUI.Full 1786 * @since 7 1787 */ 1788 /** 1789 * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). 1790 * 1791 * @syscap SystemCapability.ArkUI.ArkUI.Full 1792 * @form 1793 * @since 9 1794 */ 1795 /** 1796 * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). 1797 * 1798 * @syscap SystemCapability.ArkUI.ArkUI.Full 1799 * @crossplatform 1800 * @form 1801 * @since 10 1802 */ 1803 /** 1804 * Indicates that the animation starts at a low speed, CubicBezier(0.42, 0.0, 1.0, 1.0). 1805 * 1806 * @syscap SystemCapability.ArkUI.ArkUI.Full 1807 * @crossplatform 1808 * @form 1809 * @atomicservice 1810 * @since 11 1811 */ 1812 EaseIn, 1813 1814 /** 1815 * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). 1816 * 1817 * @syscap SystemCapability.ArkUI.ArkUI.Full 1818 * @since 7 1819 */ 1820 /** 1821 * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). 1822 * 1823 * @syscap SystemCapability.ArkUI.ArkUI.Full 1824 * @form 1825 * @since 9 1826 */ 1827 /** 1828 * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). 1829 * 1830 * @syscap SystemCapability.ArkUI.ArkUI.Full 1831 * @crossplatform 1832 * @form 1833 * @since 10 1834 */ 1835 /** 1836 * Indicates that the animation ends at a low speed, CubicBezier(0.0, 0.0, 0.78, 1.0). 1837 * 1838 * @syscap SystemCapability.ArkUI.ArkUI.Full 1839 * @crossplatform 1840 * @form 1841 * @atomicservice 1842 * @since 11 1843 */ 1844 EaseOut, 1845 1846 /** 1847 * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). 1848 * 1849 * @syscap SystemCapability.ArkUI.ArkUI.Full 1850 * @since 7 1851 */ 1852 /** 1853 * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). 1854 * 1855 * @syscap SystemCapability.ArkUI.ArkUI.Full 1856 * @form 1857 * @since 9 1858 */ 1859 /** 1860 * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). 1861 * 1862 * @syscap SystemCapability.ArkUI.ArkUI.Full 1863 * @crossplatform 1864 * @form 1865 * @since 10 1866 */ 1867 /** 1868 * Indicates that the animation starts and ends at a slow speed, CubicBezier(0.42, 0.0, 0.78, 1.0). 1869 * 1870 * @syscap SystemCapability.ArkUI.ArkUI.Full 1871 * @crossplatform 1872 * @form 1873 * @atomicservice 1874 * @since 11 1875 */ 1876 EaseInOut, 1877 1878 /** 1879 * Slow-in, fast-out 1880 * 1881 * @syscap SystemCapability.ArkUI.ArkUI.Full 1882 * @since 7 1883 */ 1884 /** 1885 * Slow-in, fast-out 1886 * 1887 * @syscap SystemCapability.ArkUI.ArkUI.Full 1888 * @form 1889 * @since 9 1890 */ 1891 /** 1892 * Slow-in, fast-out 1893 * 1894 * @syscap SystemCapability.ArkUI.ArkUI.Full 1895 * @crossplatform 1896 * @form 1897 * @since 10 1898 */ 1899 /** 1900 * Slow-in, fast-out 1901 * 1902 * @syscap SystemCapability.ArkUI.ArkUI.Full 1903 * @crossplatform 1904 * @form 1905 * @atomicservice 1906 * @since 11 1907 */ 1908 FastOutSlowIn, 1909 1910 /** 1911 * Linear Out Slow In 1912 * 1913 * @syscap SystemCapability.ArkUI.ArkUI.Full 1914 * @since 7 1915 */ 1916 /** 1917 * Linear Out Slow In 1918 * 1919 * @syscap SystemCapability.ArkUI.ArkUI.Full 1920 * @form 1921 * @since 9 1922 */ 1923 /** 1924 * Linear Out Slow In 1925 * 1926 * @syscap SystemCapability.ArkUI.ArkUI.Full 1927 * @crossplatform 1928 * @form 1929 * @since 10 1930 */ 1931 /** 1932 * Linear Out Slow In 1933 * 1934 * @syscap SystemCapability.ArkUI.ArkUI.Full 1935 * @crossplatform 1936 * @form 1937 * @atomicservice 1938 * @since 11 1939 */ 1940 LinearOutSlowIn, 1941 1942 /** 1943 * Fast Out Linear In. 1944 * 1945 * @syscap SystemCapability.ArkUI.ArkUI.Full 1946 * @since 7 1947 */ 1948 /** 1949 * Fast Out Linear In. 1950 * 1951 * @syscap SystemCapability.ArkUI.ArkUI.Full 1952 * @form 1953 * @since 9 1954 */ 1955 /** 1956 * Fast Out Linear In. 1957 * 1958 * @syscap SystemCapability.ArkUI.ArkUI.Full 1959 * @crossplatform 1960 * @form 1961 * @since 10 1962 */ 1963 /** 1964 * Fast Out Linear In. 1965 * 1966 * @syscap SystemCapability.ArkUI.ArkUI.Full 1967 * @crossplatform 1968 * @form 1969 * @atomicservice 1970 * @since 11 1971 */ 1972 FastOutLinearIn, 1973 1974 /** 1975 * Extreme Deceleration. 1976 * 1977 * @syscap SystemCapability.ArkUI.ArkUI.Full 1978 * @since 7 1979 */ 1980 /** 1981 * Extreme Deceleration. 1982 * 1983 * @syscap SystemCapability.ArkUI.ArkUI.Full 1984 * @form 1985 * @since 9 1986 */ 1987 /** 1988 * Extreme Deceleration. 1989 * 1990 * @syscap SystemCapability.ArkUI.ArkUI.Full 1991 * @crossplatform 1992 * @form 1993 * @since 10 1994 */ 1995 /** 1996 * Extreme Deceleration. 1997 * 1998 * @syscap SystemCapability.ArkUI.ArkUI.Full 1999 * @crossplatform 2000 * @form 2001 * @atomicservice 2002 * @since 11 2003 */ 2004 ExtremeDeceleration, 2005 2006 /** 2007 * Sharp. 2008 * 2009 * @syscap SystemCapability.ArkUI.ArkUI.Full 2010 * @since 7 2011 */ 2012 /** 2013 * Sharp. 2014 * 2015 * @syscap SystemCapability.ArkUI.ArkUI.Full 2016 * @form 2017 * @since 9 2018 */ 2019 /** 2020 * Sharp. 2021 * 2022 * @syscap SystemCapability.ArkUI.ArkUI.Full 2023 * @crossplatform 2024 * @form 2025 * @since 10 2026 */ 2027 /** 2028 * Sharp. 2029 * 2030 * @syscap SystemCapability.ArkUI.ArkUI.Full 2031 * @crossplatform 2032 * @form 2033 * @atomicservice 2034 * @since 11 2035 */ 2036 Sharp, 2037 2038 /** 2039 * Rhythm. 2040 * 2041 * @syscap SystemCapability.ArkUI.ArkUI.Full 2042 * @since 7 2043 */ 2044 /** 2045 * Rhythm. 2046 * 2047 * @syscap SystemCapability.ArkUI.ArkUI.Full 2048 * @form 2049 * @since 9 2050 */ 2051 /** 2052 * Rhythm. 2053 * 2054 * @syscap SystemCapability.ArkUI.ArkUI.Full 2055 * @crossplatform 2056 * @form 2057 * @since 10 2058 */ 2059 /** 2060 * Rhythm. 2061 * 2062 * @syscap SystemCapability.ArkUI.ArkUI.Full 2063 * @crossplatform 2064 * @form 2065 * @atomicservice 2066 * @since 11 2067 */ 2068 Rhythm, 2069 2070 /** 2071 * Smooth. 2072 * 2073 * @syscap SystemCapability.ArkUI.ArkUI.Full 2074 * @since 7 2075 */ 2076 /** 2077 * Smooth. 2078 * 2079 * @syscap SystemCapability.ArkUI.ArkUI.Full 2080 * @form 2081 * @since 9 2082 */ 2083 /** 2084 * Smooth. 2085 * 2086 * @syscap SystemCapability.ArkUI.ArkUI.Full 2087 * @crossplatform 2088 * @form 2089 * @since 10 2090 */ 2091 /** 2092 * Smooth. 2093 * 2094 * @syscap SystemCapability.ArkUI.ArkUI.Full 2095 * @crossplatform 2096 * @form 2097 * @atomicservice 2098 * @since 11 2099 */ 2100 Smooth, 2101 2102 /** 2103 * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). 2104 * 2105 * @syscap SystemCapability.ArkUI.ArkUI.Full 2106 * @since 7 2107 */ 2108 /** 2109 * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). 2110 * 2111 * @syscap SystemCapability.ArkUI.ArkUI.Full 2112 * @form 2113 * @since 9 2114 */ 2115 /** 2116 * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). 2117 * 2118 * @syscap SystemCapability.ArkUI.ArkUI.Full 2119 * @crossplatform 2120 * @form 2121 * @since 10 2122 */ 2123 /** 2124 * Damping curve, CubicBezier(0.2, 0.0, 0.2, 1.0). 2125 * 2126 * @syscap SystemCapability.ArkUI.ArkUI.Full 2127 * @crossplatform 2128 * @form 2129 * @atomicservice 2130 * @since 11 2131 */ 2132 Friction, 2133} 2134 2135/** 2136 * Sets the state before and after the animation starts. 2137 * 2138 * @enum { number } 2139 * @syscap SystemCapability.ArkUI.ArkUI.Full 2140 * @since 7 2141 */ 2142/** 2143 * Sets the state before and after the animation starts. 2144 * 2145 * @enum { number } 2146 * @syscap SystemCapability.ArkUI.ArkUI.Full 2147 * @crossplatform 2148 * @form 2149 * @since 10 2150 */ 2151/** 2152 * Sets the state before and after the animation starts. 2153 * 2154 * @enum { number } 2155 * @syscap SystemCapability.ArkUI.ArkUI.Full 2156 * @crossplatform 2157 * @form 2158 * @atomicservice 2159 * @since 11 2160 */ 2161declare enum FillMode { 2162 /** 2163 * Restores to the initial state after the playback is complete. 2164 * 2165 * @syscap SystemCapability.ArkUI.ArkUI.Full 2166 * @since 7 2167 */ 2168 /** 2169 * Restores to the initial state after the playback is complete. 2170 * 2171 * @syscap SystemCapability.ArkUI.ArkUI.Full 2172 * @crossplatform 2173 * @form 2174 * @since 10 2175 */ 2176 /** 2177 * Restores to the initial state after the playback is complete. 2178 * 2179 * @syscap SystemCapability.ArkUI.ArkUI.Full 2180 * @crossplatform 2181 * @form 2182 * @atomicservice 2183 * @since 11 2184 */ 2185 None, 2186 2187 /** 2188 * Retains the state at the end of the animation when the playback is complete. 2189 * 2190 * @syscap SystemCapability.ArkUI.ArkUI.Full 2191 * @since 7 2192 */ 2193 /** 2194 * Retains the state at the end of the animation when the playback is complete. 2195 * 2196 * @syscap SystemCapability.ArkUI.ArkUI.Full 2197 * @crossplatform 2198 * @form 2199 * @since 10 2200 */ 2201 /** 2202 * Retains the state at the end of the animation when the playback is complete. 2203 * 2204 * @syscap SystemCapability.ArkUI.ArkUI.Full 2205 * @crossplatform 2206 * @form 2207 * @atomicservice 2208 * @since 11 2209 */ 2210 Forwards, 2211 2212 /** 2213 * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. 2214 * 2215 * @syscap SystemCapability.ArkUI.ArkUI.Full 2216 * @since 7 2217 */ 2218 /** 2219 * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. 2220 * 2221 * @syscap SystemCapability.ArkUI.ArkUI.Full 2222 * @crossplatform 2223 * @form 2224 * @since 10 2225 */ 2226 /** 2227 * Applies the start attribute value for the period specified by animation-delay before the animation is displayed. 2228 * 2229 * @syscap SystemCapability.ArkUI.ArkUI.Full 2230 * @crossplatform 2231 * @form 2232 * @atomicservice 2233 * @since 11 2234 */ 2235 Backwards, 2236 2237 /** 2238 * Both forward and backward fill modes are applied. 2239 * 2240 * @syscap SystemCapability.ArkUI.ArkUI.Full 2241 * @since 7 2242 */ 2243 /** 2244 * Both forward and backward fill modes are applied. 2245 * 2246 * @syscap SystemCapability.ArkUI.ArkUI.Full 2247 * @crossplatform 2248 * @form 2249 * @since 10 2250 */ 2251 /** 2252 * Both forward and backward fill modes are applied. 2253 * 2254 * @syscap SystemCapability.ArkUI.ArkUI.Full 2255 * @crossplatform 2256 * @form 2257 * @atomicservice 2258 * @since 11 2259 */ 2260 Both, 2261} 2262 2263/** 2264 * Play Mode 2265 * 2266 * @enum { number } 2267 * @syscap SystemCapability.ArkUI.ArkUI.Full 2268 * @since 7 2269 */ 2270/** 2271 * Play Mode 2272 * 2273 * @enum { number } 2274 * @syscap SystemCapability.ArkUI.ArkUI.Full 2275 * @form 2276 * @since 9 2277 */ 2278/** 2279 * Play Mode 2280 * 2281 * @enum { number } 2282 * @syscap SystemCapability.ArkUI.ArkUI.Full 2283 * @crossplatform 2284 * @form 2285 * @since 10 2286 */ 2287/** 2288 * Play Mode 2289 * 2290 * @enum { number } 2291 * @syscap SystemCapability.ArkUI.ArkUI.Full 2292 * @crossplatform 2293 * @form 2294 * @atomicservice 2295 * @since 11 2296 */ 2297declare enum PlayMode { 2298 /** 2299 * The animation plays normally. 2300 * 2301 * @syscap SystemCapability.ArkUI.ArkUI.Full 2302 * @since 7 2303 */ 2304 /** 2305 * The animation plays normally. 2306 * 2307 * @syscap SystemCapability.ArkUI.ArkUI.Full 2308 * @form 2309 * @since 9 2310 */ 2311 /** 2312 * The animation plays normally. 2313 * 2314 * @syscap SystemCapability.ArkUI.ArkUI.Full 2315 * @crossplatform 2316 * @form 2317 * @since 10 2318 */ 2319 /** 2320 * The animation plays normally. 2321 * 2322 * @syscap SystemCapability.ArkUI.ArkUI.Full 2323 * @crossplatform 2324 * @form 2325 * @atomicservice 2326 * @since 11 2327 */ 2328 Normal, 2329 2330 /** 2331 * The animation plays backwards. 2332 * 2333 * @syscap SystemCapability.ArkUI.ArkUI.Full 2334 * @since 7 2335 */ 2336 /** 2337 * The animation plays backwards. 2338 * 2339 * @syscap SystemCapability.ArkUI.ArkUI.Full 2340 * @form 2341 * @since 9 2342 */ 2343 /** 2344 * The animation plays backwards. 2345 * 2346 * @syscap SystemCapability.ArkUI.ArkUI.Full 2347 * @crossplatform 2348 * @form 2349 * @since 10 2350 */ 2351 /** 2352 * The animation plays backwards. 2353 * 2354 * @syscap SystemCapability.ArkUI.ArkUI.Full 2355 * @crossplatform 2356 * @form 2357 * @atomicservice 2358 * @since 11 2359 */ 2360 Reverse, 2361 2362 /** 2363 * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). 2364 * 2365 * @syscap SystemCapability.ArkUI.ArkUI.Full 2366 * @since 7 2367 */ 2368 /** 2369 * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). 2370 * 2371 * @syscap SystemCapability.ArkUI.ArkUI.Full 2372 * @form 2373 * @since 9 2374 */ 2375 /** 2376 * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). 2377 * 2378 * @syscap SystemCapability.ArkUI.ArkUI.Full 2379 * @crossplatform 2380 * @form 2381 * @since 10 2382 */ 2383 /** 2384 * The animation plays forward on odd numbers (1, 3, 7...) and backward on even numbers (2, 4, 6...). 2385 * 2386 * @syscap SystemCapability.ArkUI.ArkUI.Full 2387 * @crossplatform 2388 * @form 2389 * @atomicservice 2390 * @since 11 2391 */ 2392 Alternate, 2393 2394 /** 2395 * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. 2396 * 2397 * @syscap SystemCapability.ArkUI.ArkUI.Full 2398 * @since 7 2399 */ 2400 /** 2401 * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. 2402 * 2403 * @syscap SystemCapability.ArkUI.ArkUI.Full 2404 * @form 2405 * @since 9 2406 */ 2407 /** 2408 * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. 2409 * 2410 * @syscap SystemCapability.ArkUI.ArkUI.Full 2411 * @crossplatform 2412 * @form 2413 * @since 10 2414 */ 2415 /** 2416 * The animation plays backwards on odd numbers (1, 3, 7...) and forwards on even numbers (2, 4, 6...).. 2417 * 2418 * @syscap SystemCapability.ArkUI.ArkUI.Full 2419 * @crossplatform 2420 * @form 2421 * @atomicservice 2422 * @since 11 2423 */ 2424 AlternateReverse, 2425} 2426 2427/** 2428 * Type of a key. 2429 * 2430 * @enum { number } 2431 * @syscap SystemCapability.ArkUI.ArkUI.Full 2432 * @since 7 2433 */ 2434/** 2435 * Type of a key. 2436 * 2437 * @enum { number } 2438 * @syscap SystemCapability.ArkUI.ArkUI.Full 2439 * @crossplatform 2440 * @since 10 2441 */ 2442/** 2443 * Type of a key. 2444 * 2445 * @enum { number } 2446 * @syscap SystemCapability.ArkUI.ArkUI.Full 2447 * @crossplatform 2448 * @atomicservice 2449 * @since 11 2450 */ 2451declare enum KeyType { 2452 /** 2453 * Press the key. 2454 * 2455 * @syscap SystemCapability.ArkUI.ArkUI.Full 2456 * @since 7 2457 */ 2458 /** 2459 * Press the key. 2460 * 2461 * @syscap SystemCapability.ArkUI.ArkUI.Full 2462 * @crossplatform 2463 * @since 10 2464 */ 2465 /** 2466 * Press the key. 2467 * 2468 * @syscap SystemCapability.ArkUI.ArkUI.Full 2469 * @crossplatform 2470 * @atomicservice 2471 * @since 11 2472 */ 2473 Down, 2474 2475 /** 2476 * The key is released. 2477 * 2478 * @syscap SystemCapability.ArkUI.ArkUI.Full 2479 * @since 7 2480 */ 2481 /** 2482 * The key is released. 2483 * 2484 * @syscap SystemCapability.ArkUI.ArkUI.Full 2485 * @crossplatform 2486 * @since 10 2487 */ 2488 /** 2489 * The key is released. 2490 * 2491 * @syscap SystemCapability.ArkUI.ArkUI.Full 2492 * @crossplatform 2493 * @atomicservice 2494 * @since 11 2495 */ 2496 Up, 2497} 2498 2499/** 2500 * Type of the input device that triggers the current key. 2501 * 2502 * @enum { number } 2503 * @syscap SystemCapability.ArkUI.ArkUI.Full 2504 * @since 7 2505 */ 2506/** 2507 * Type of the input device that triggers the current key. 2508 * 2509 * @enum { number } 2510 * @syscap SystemCapability.ArkUI.ArkUI.Full 2511 * @crossplatform 2512 * @since 10 2513 */ 2514/** 2515 * Type of the input device that triggers the current key. 2516 * 2517 * @enum { number } 2518 * @syscap SystemCapability.ArkUI.ArkUI.Full 2519 * @crossplatform 2520 * @atomicservice 2521 * @since 11 2522 */ 2523declare enum KeySource { 2524 /** 2525 * The input device type is unknown. 2526 * 2527 * @syscap SystemCapability.ArkUI.ArkUI.Full 2528 * @since 7 2529 */ 2530 /** 2531 * The input device type is unknown. 2532 * 2533 * @syscap SystemCapability.ArkUI.ArkUI.Full 2534 * @crossplatform 2535 * @since 10 2536 */ 2537 /** 2538 * The input device type is unknown. 2539 * 2540 * @syscap SystemCapability.ArkUI.ArkUI.Full 2541 * @crossplatform 2542 * @atomicservice 2543 * @since 11 2544 */ 2545 Unknown, 2546 2547 /** 2548 * Set Device Type to Keyboard. 2549 * 2550 * @syscap SystemCapability.ArkUI.ArkUI.Full 2551 * @since 7 2552 */ 2553 /** 2554 * Set Device Type to Keyboard. 2555 * 2556 * @syscap SystemCapability.ArkUI.ArkUI.Full 2557 * @crossplatform 2558 * @since 10 2559 */ 2560 /** 2561 * Set Device Type to Keyboard. 2562 * 2563 * @syscap SystemCapability.ArkUI.ArkUI.Full 2564 * @crossplatform 2565 * @atomicservice 2566 * @since 11 2567 */ 2568 Keyboard, 2569} 2570 2571/** 2572 * Edge. 2573 * 2574 * @enum { number } 2575 * @syscap SystemCapability.ArkUI.ArkUI.Full 2576 * @since 7 2577 */ 2578/** 2579 * Edge. 2580 * 2581 * @enum { number } 2582 * @syscap SystemCapability.ArkUI.ArkUI.Full 2583 * @crossplatform 2584 * @since 10 2585 */ 2586/** 2587 * Edge. 2588 * 2589 * @enum { number } 2590 * @syscap SystemCapability.ArkUI.ArkUI.Full 2591 * @crossplatform 2592 * @atomicservice 2593 * @since 11 2594 */ 2595declare enum Edge { 2596 /** 2597 * The top is centered horizontally. 2598 * 2599 * @syscap SystemCapability.ArkUI.ArkUI.Full 2600 * @since 7 2601 */ 2602 /** 2603 * The top is centered horizontally. 2604 * 2605 * @syscap SystemCapability.ArkUI.ArkUI.Full 2606 * @crossplatform 2607 * @since 10 2608 */ 2609 /** 2610 * The top is centered horizontally. 2611 * 2612 * @syscap SystemCapability.ArkUI.ArkUI.Full 2613 * @crossplatform 2614 * @atomicservice 2615 * @since 11 2616 */ 2617 Top, 2618 2619 /** 2620 * Center horizontal and vertical. 2621 * 2622 * @syscap SystemCapability.ArkUI.ArkUI.Full 2623 * @since 7 2624 * @deprecated since 9 2625 */ 2626 Center, 2627 2628 /** 2629 * The bottom is centered horizontally. 2630 * 2631 * @syscap SystemCapability.ArkUI.ArkUI.Full 2632 * @since 7 2633 */ 2634 /** 2635 * The bottom is centered horizontally. 2636 * 2637 * @syscap SystemCapability.ArkUI.ArkUI.Full 2638 * @crossplatform 2639 * @since 10 2640 */ 2641 /** 2642 * The bottom is centered horizontally. 2643 * 2644 * @syscap SystemCapability.ArkUI.ArkUI.Full 2645 * @crossplatform 2646 * @atomicservice 2647 * @since 11 2648 */ 2649 Bottom, 2650 2651 /** 2652 * Cross axis direction text baseline alignment. 2653 * 2654 * @syscap SystemCapability.ArkUI.ArkUI.Full 2655 * @since 7 2656 * @deprecated since 9 2657 */ 2658 Baseline, 2659 2660 /** 2661 * Align the head of the cross axis direction. 2662 * 2663 * @syscap SystemCapability.ArkUI.ArkUI.Full 2664 * @since 7 2665 */ 2666 /** 2667 * Align the head of the cross axis direction. 2668 * 2669 * @syscap SystemCapability.ArkUI.ArkUI.Full 2670 * @crossplatform 2671 * @since 10 2672 */ 2673 /** 2674 * Align the head of the cross axis direction. 2675 * 2676 * @syscap SystemCapability.ArkUI.ArkUI.Full 2677 * @crossplatform 2678 * @atomicservice 2679 * @since 11 2680 */ 2681 Start, 2682 2683 /** 2684 * Middle 2685 * 2686 * @syscap SystemCapability.ArkUI.ArkUI.Full 2687 * @since 7 2688 * @deprecated since 9 2689 */ 2690 Middle, 2691 2692 /** 2693 * Align the head of the cross axis direction. 2694 * 2695 * @syscap SystemCapability.ArkUI.ArkUI.Full 2696 * @since 7 2697 */ 2698 /** 2699 * Align the head of the cross axis direction. 2700 * 2701 * @syscap SystemCapability.ArkUI.ArkUI.Full 2702 * @crossplatform 2703 * @since 10 2704 */ 2705 /** 2706 * Align the head of the cross axis direction. 2707 * 2708 * @syscap SystemCapability.ArkUI.ArkUI.Full 2709 * @crossplatform 2710 * @atomicservice 2711 * @since 11 2712 */ 2713 End, 2714} 2715 2716/** 2717 * Set Weekend 2718 * 2719 * @enum { number } 2720 * @syscap SystemCapability.ArkUI.ArkUI.Full 2721 * @since 7 2722 */ 2723/** 2724 * Set Weekend 2725 * 2726 * @enum { number } 2727 * @syscap SystemCapability.ArkUI.ArkUI.Full 2728 * @crossplatform 2729 * @since 10 2730 */ 2731/** 2732 * Set Weekend 2733 * 2734 * @enum { number } 2735 * @syscap SystemCapability.ArkUI.ArkUI.Full 2736 * @crossplatform 2737 * @atomicservice 2738 * @since 11 2739 */ 2740declare enum Week { 2741 /** 2742 * Monday. 2743 * 2744 * @syscap SystemCapability.ArkUI.ArkUI.Full 2745 * @since 7 2746 */ 2747 /** 2748 * Monday. 2749 * 2750 * @syscap SystemCapability.ArkUI.ArkUI.Full 2751 * @crossplatform 2752 * @since 10 2753 */ 2754 /** 2755 * Monday. 2756 * 2757 * @syscap SystemCapability.ArkUI.ArkUI.Full 2758 * @crossplatform 2759 * @atomicservice 2760 * @since 11 2761 */ 2762 Mon, 2763 2764 /** 2765 * Tuesday. 2766 * 2767 * @syscap SystemCapability.ArkUI.ArkUI.Full 2768 * @since 7 2769 */ 2770 /** 2771 * Tuesday. 2772 * 2773 * @syscap SystemCapability.ArkUI.ArkUI.Full 2774 * @crossplatform 2775 * @since 10 2776 */ 2777 /** 2778 * Tuesday. 2779 * 2780 * @syscap SystemCapability.ArkUI.ArkUI.Full 2781 * @crossplatform 2782 * @atomicservice 2783 * @since 11 2784 */ 2785 Tue, 2786 2787 /** 2788 * Wednesday. 2789 * 2790 * @syscap SystemCapability.ArkUI.ArkUI.Full 2791 * @since 7 2792 */ 2793 /** 2794 * Wednesday. 2795 * 2796 * @syscap SystemCapability.ArkUI.ArkUI.Full 2797 * @crossplatform 2798 * @since 10 2799 */ 2800 /** 2801 * Wednesday. 2802 * 2803 * @syscap SystemCapability.ArkUI.ArkUI.Full 2804 * @crossplatform 2805 * @atomicservice 2806 * @since 11 2807 */ 2808 Wed, 2809 2810 /** 2811 * Thursday. 2812 * 2813 * @syscap SystemCapability.ArkUI.ArkUI.Full 2814 * @since 7 2815 */ 2816 /** 2817 * Thursday. 2818 * 2819 * @syscap SystemCapability.ArkUI.ArkUI.Full 2820 * @crossplatform 2821 * @since 10 2822 */ 2823 /** 2824 * Thursday. 2825 * 2826 * @syscap SystemCapability.ArkUI.ArkUI.Full 2827 * @crossplatform 2828 * @atomicservice 2829 * @since 11 2830 */ 2831 Thur, 2832 2833 /** 2834 * Friday. 2835 * 2836 * @syscap SystemCapability.ArkUI.ArkUI.Full 2837 * @since 7 2838 */ 2839 /** 2840 * Friday. 2841 * 2842 * @syscap SystemCapability.ArkUI.ArkUI.Full 2843 * @crossplatform 2844 * @since 10 2845 */ 2846 /** 2847 * Friday. 2848 * 2849 * @syscap SystemCapability.ArkUI.ArkUI.Full 2850 * @crossplatform 2851 * @atomicservice 2852 * @since 11 2853 */ 2854 Fri, 2855 2856 /** 2857 * Saturday. 2858 * 2859 * @syscap SystemCapability.ArkUI.ArkUI.Full 2860 * @since 7 2861 */ 2862 /** 2863 * Saturday. 2864 * 2865 * @syscap SystemCapability.ArkUI.ArkUI.Full 2866 * @crossplatform 2867 * @since 10 2868 */ 2869 /** 2870 * Saturday. 2871 * 2872 * @syscap SystemCapability.ArkUI.ArkUI.Full 2873 * @crossplatform 2874 * @atomicservice 2875 * @since 11 2876 */ 2877 Sat, 2878 2879 /** 2880 * Sunday. 2881 * 2882 * @syscap SystemCapability.ArkUI.ArkUI.Full 2883 * @since 7 2884 */ 2885 /** 2886 * Sunday. 2887 * 2888 * @syscap SystemCapability.ArkUI.ArkUI.Full 2889 * @crossplatform 2890 * @since 10 2891 */ 2892 /** 2893 * Sunday. 2894 * 2895 * @syscap SystemCapability.ArkUI.ArkUI.Full 2896 * @crossplatform 2897 * @atomicservice 2898 * @since 11 2899 */ 2900 Sun, 2901} 2902 2903/** 2904 * Sets the horizontal layout of elements. 2905 * 2906 * @enum { number } 2907 * @syscap SystemCapability.ArkUI.ArkUI.Full 2908 * @since 7 2909 */ 2910/** 2911 * Sets the horizontal layout of elements. 2912 * 2913 * @enum { number } 2914 * @syscap SystemCapability.ArkUI.ArkUI.Full 2915 * @form 2916 * @since 9 2917 */ 2918/** 2919 * Sets the horizontal layout of elements. 2920 * 2921 * @enum { number } 2922 * @syscap SystemCapability.ArkUI.ArkUI.Full 2923 * @crossplatform 2924 * @form 2925 * @since 10 2926 */ 2927/** 2928 * Sets the horizontal layout of elements. 2929 * 2930 * @enum { number } 2931 * @syscap SystemCapability.ArkUI.ArkUI.Full 2932 * @crossplatform 2933 * @form 2934 * @atomicservice 2935 * @since 11 2936 */ 2937declare enum Direction { 2938 /** 2939 * Elements are laid out from left to right. 2940 * 2941 * @syscap SystemCapability.ArkUI.ArkUI.Full 2942 * @since 7 2943 */ 2944 /** 2945 * Elements are laid out from left to right. 2946 * 2947 * @syscap SystemCapability.ArkUI.ArkUI.Full 2948 * @form 2949 * @since 9 2950 */ 2951 /** 2952 * Elements are laid out from left to right. 2953 * 2954 * @syscap SystemCapability.ArkUI.ArkUI.Full 2955 * @crossplatform 2956 * @form 2957 * @since 10 2958 */ 2959 /** 2960 * Elements are laid out from left to right. 2961 * 2962 * @syscap SystemCapability.ArkUI.ArkUI.Full 2963 * @crossplatform 2964 * @form 2965 * @atomicservice 2966 * @since 11 2967 */ 2968 Ltr, 2969 2970 /** 2971 * Elements are laid out from right to left. 2972 * 2973 * @syscap SystemCapability.ArkUI.ArkUI.Full 2974 * @since 7 2975 */ 2976 /** 2977 * Elements are laid out from right to left. 2978 * 2979 * @syscap SystemCapability.ArkUI.ArkUI.Full 2980 * @form 2981 * @since 9 2982 */ 2983 /** 2984 * Elements are laid out from right to left. 2985 * 2986 * @syscap SystemCapability.ArkUI.ArkUI.Full 2987 * @crossplatform 2988 * @form 2989 * @since 10 2990 */ 2991 /** 2992 * Elements are laid out from right to left. 2993 * 2994 * @syscap SystemCapability.ArkUI.ArkUI.Full 2995 * @crossplatform 2996 * @form 2997 * @atomicservice 2998 * @since 11 2999 */ 3000 Rtl, 3001 3002 /** 3003 * Use the default layout direction. 3004 * 3005 * @syscap SystemCapability.ArkUI.ArkUI.Full 3006 * @since 7 3007 */ 3008 /** 3009 * Use the default layout direction. 3010 * 3011 * @syscap SystemCapability.ArkUI.ArkUI.Full 3012 * @form 3013 * @since 9 3014 */ 3015 /** 3016 * Use the default layout direction. 3017 * 3018 * @syscap SystemCapability.ArkUI.ArkUI.Full 3019 * @crossplatform 3020 * @form 3021 * @since 10 3022 */ 3023 /** 3024 * Use the default layout direction. 3025 * 3026 * @syscap SystemCapability.ArkUI.ArkUI.Full 3027 * @crossplatform 3028 * @form 3029 * @atomicservice 3030 * @since 11 3031 */ 3032 Auto, 3033} 3034 3035/** 3036 * Used to set the status of the scroll bar. 3037 * 3038 * @enum { number } 3039 * @syscap SystemCapability.ArkUI.ArkUI.Full 3040 * @since 7 3041 */ 3042/** 3043 * Used to set the status of the scroll bar. 3044 * 3045 * @enum { number } 3046 * @syscap SystemCapability.ArkUI.ArkUI.Full 3047 * @form 3048 * @since 9 3049 */ 3050/** 3051 * Used to set the status of the scroll bar. 3052 * 3053 * @enum { number } 3054 * @syscap SystemCapability.ArkUI.ArkUI.Full 3055 * @crossplatform 3056 * @form 3057 * @since 10 3058 */ 3059/** 3060 * Used to set the status of the scroll bar. 3061 * 3062 * @enum { number } 3063 * @syscap SystemCapability.ArkUI.ArkUI.Full 3064 * @crossplatform 3065 * @form 3066 * @atomicservice 3067 * @since 11 3068 */ 3069declare enum BarState { 3070 /** 3071 * Not displayed. 3072 * 3073 * @syscap SystemCapability.ArkUI.ArkUI.Full 3074 * @since 7 3075 */ 3076 /** 3077 * Not displayed. 3078 * 3079 * @syscap SystemCapability.ArkUI.ArkUI.Full 3080 * @form 3081 * @since 9 3082 */ 3083 /** 3084 * Not displayed. 3085 * 3086 * @syscap SystemCapability.ArkUI.ArkUI.Full 3087 * @crossplatform 3088 * @form 3089 * @since 10 3090 */ 3091 /** 3092 * Not displayed. 3093 * 3094 * @syscap SystemCapability.ArkUI.ArkUI.Full 3095 * @crossplatform 3096 * @form 3097 * @atomicservice 3098 * @since 11 3099 */ 3100 Off, 3101 3102 /** 3103 * On-demand display (displayed when you touch it and disappears after 2 seconds). 3104 * 3105 * @syscap SystemCapability.ArkUI.ArkUI.Full 3106 * @since 7 3107 */ 3108 /** 3109 * On-demand display (displayed when you touch it and disappears after 2 seconds). 3110 * 3111 * @syscap SystemCapability.ArkUI.ArkUI.Full 3112 * @form 3113 * @since 9 3114 */ 3115 /** 3116 * On-demand display (displayed when you touch it and disappears after 2 seconds). 3117 * 3118 * @syscap SystemCapability.ArkUI.ArkUI.Full 3119 * @crossplatform 3120 * @form 3121 * @since 10 3122 */ 3123 /** 3124 * On-demand display (displayed when you touch it and disappears after 2 seconds). 3125 * 3126 * @syscap SystemCapability.ArkUI.ArkUI.Full 3127 * @crossplatform 3128 * @form 3129 * @atomicservice 3130 * @since 11 3131 */ 3132 Auto, 3133 3134 /** 3135 * Resident display. 3136 * 3137 * @syscap SystemCapability.ArkUI.ArkUI.Full 3138 * @since 7 3139 */ 3140 /** 3141 * Resident display. 3142 * 3143 * @syscap SystemCapability.ArkUI.ArkUI.Full 3144 * @form 3145 * @since 9 3146 */ 3147 /** 3148 * Resident display. 3149 * 3150 * @syscap SystemCapability.ArkUI.ArkUI.Full 3151 * @crossplatform 3152 * @form 3153 * @since 10 3154 */ 3155 /** 3156 * Resident display. 3157 * 3158 * @syscap SystemCapability.ArkUI.ArkUI.Full 3159 * @crossplatform 3160 * @form 3161 * @atomicservice 3162 * @since 11 3163 */ 3164 On, 3165} 3166 3167/** 3168 * Sliding effect 3169 * 3170 * @enum { number } 3171 * @syscap SystemCapability.ArkUI.ArkUI.Full 3172 * @since 7 3173 */ 3174/** 3175 * Sliding effect 3176 * 3177 * @enum { number } 3178 * @syscap SystemCapability.ArkUI.ArkUI.Full 3179 * @form 3180 * @since 9 3181 */ 3182/** 3183 * Sliding effect 3184 * 3185 * @enum { number } 3186 * @syscap SystemCapability.ArkUI.ArkUI.Full 3187 * @crossplatform 3188 * @form 3189 * @since 10 3190 */ 3191/** 3192 * Sliding effect 3193 * 3194 * @enum { number } 3195 * @syscap SystemCapability.ArkUI.ArkUI.Full 3196 * @crossplatform 3197 * @form 3198 * @atomicservice 3199 * @since 11 3200 */ 3201declare enum EdgeEffect { 3202 /** 3203 * 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. 3204 * 3205 * @syscap SystemCapability.ArkUI.ArkUI.Full 3206 * @since 7 3207 */ 3208 /** 3209 * 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. 3210 * 3211 * @syscap SystemCapability.ArkUI.ArkUI.Full 3212 * @form 3213 * @since 9 3214 */ 3215 /** 3216 * 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. 3217 * 3218 * @syscap SystemCapability.ArkUI.ArkUI.Full 3219 * @crossplatform 3220 * @form 3221 * @since 10 3222 */ 3223 /** 3224 * 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. 3225 * 3226 * @syscap SystemCapability.ArkUI.ArkUI.Full 3227 * @crossplatform 3228 * @form 3229 * @atomicservice 3230 * @since 11 3231 */ 3232 Spring, 3233 3234 /** 3235 * Fade. 3236 * 3237 * @syscap SystemCapability.ArkUI.ArkUI.Full 3238 * @since 7 3239 */ 3240 /** 3241 * Fade. 3242 * 3243 * @syscap SystemCapability.ArkUI.ArkUI.Full 3244 * @form 3245 * @since 9 3246 */ 3247 /** 3248 * Fade. 3249 * 3250 * @syscap SystemCapability.ArkUI.ArkUI.Full 3251 * @crossplatform 3252 * @form 3253 * @since 10 3254 */ 3255 /** 3256 * Fade. 3257 * 3258 * @syscap SystemCapability.ArkUI.ArkUI.Full 3259 * @crossplatform 3260 * @form 3261 * @atomicservice 3262 * @since 11 3263 */ 3264 Fade, 3265 3266 /** 3267 * Sliding to the edge has no effect. 3268 * 3269 * @syscap SystemCapability.ArkUI.ArkUI.Full 3270 * @since 7 3271 */ 3272 /** 3273 * Sliding to the edge has no effect. 3274 * 3275 * @syscap SystemCapability.ArkUI.ArkUI.Full 3276 * @form 3277 * @since 9 3278 */ 3279 /** 3280 * Sliding to the edge has no effect. 3281 * 3282 * @syscap SystemCapability.ArkUI.ArkUI.Full 3283 * @crossplatform 3284 * @form 3285 * @since 10 3286 */ 3287 /** 3288 * Sliding to the edge has no effect. 3289 * 3290 * @syscap SystemCapability.ArkUI.ArkUI.Full 3291 * @crossplatform 3292 * @form 3293 * @atomicservice 3294 * @since 11 3295 */ 3296 None, 3297} 3298 3299/** 3300 * Alignment enumeration description. 3301 * 3302 * @enum { number } 3303 * @syscap SystemCapability.ArkUI.ArkUI.Full 3304 * @since 7 3305 */ 3306/** 3307 * Alignment enumeration description. 3308 * 3309 * @enum { number } 3310 * @syscap SystemCapability.ArkUI.ArkUI.Full 3311 * @form 3312 * @since 9 3313 */ 3314/** 3315 * Alignment enumeration description. 3316 * 3317 * @enum { number } 3318 * @syscap SystemCapability.ArkUI.ArkUI.Full 3319 * @crossplatform 3320 * @form 3321 * @since 10 3322 */ 3323/** 3324 * Alignment enumeration description. 3325 * 3326 * @enum { number } 3327 * @syscap SystemCapability.ArkUI.ArkUI.Full 3328 * @crossplatform 3329 * @form 3330 * @atomicservice 3331 * @since 11 3332 */ 3333declare enum Alignment { 3334 /** 3335 * Top Start. 3336 * 3337 * @syscap SystemCapability.ArkUI.ArkUI.Full 3338 * @since 7 3339 */ 3340 /** 3341 * Top Start. 3342 * 3343 * @syscap SystemCapability.ArkUI.ArkUI.Full 3344 * @form 3345 * @since 9 3346 */ 3347 /** 3348 * Top Start. 3349 * 3350 * @syscap SystemCapability.ArkUI.ArkUI.Full 3351 * @crossplatform 3352 * @form 3353 * @since 10 3354 */ 3355 /** 3356 * Top Start. 3357 * 3358 * @syscap SystemCapability.ArkUI.ArkUI.Full 3359 * @crossplatform 3360 * @form 3361 * @atomicservice 3362 * @since 11 3363 */ 3364 TopStart, 3365 3366 /** 3367 * The top is centered horizontally. 3368 * 3369 * @syscap SystemCapability.ArkUI.ArkUI.Full 3370 * @since 7 3371 */ 3372 /** 3373 * The top is centered horizontally. 3374 * 3375 * @syscap SystemCapability.ArkUI.ArkUI.Full 3376 * @form 3377 * @since 9 3378 */ 3379 /** 3380 * The top is centered horizontally. 3381 * 3382 * @syscap SystemCapability.ArkUI.ArkUI.Full 3383 * @crossplatform 3384 * @form 3385 * @since 10 3386 */ 3387 /** 3388 * The top is centered horizontally. 3389 * 3390 * @syscap SystemCapability.ArkUI.ArkUI.Full 3391 * @crossplatform 3392 * @form 3393 * @atomicservice 3394 * @since 11 3395 */ 3396 Top, 3397 3398 /** 3399 * Top tail end. 3400 * 3401 * @syscap SystemCapability.ArkUI.ArkUI.Full 3402 * @since 7 3403 */ 3404 /** 3405 * Top tail end. 3406 * 3407 * @syscap SystemCapability.ArkUI.ArkUI.Full 3408 * @form 3409 * @since 9 3410 */ 3411 /** 3412 * Top tail end. 3413 * 3414 * @syscap SystemCapability.ArkUI.ArkUI.Full 3415 * @crossplatform 3416 * @form 3417 * @since 10 3418 */ 3419 /** 3420 * Top tail end. 3421 * 3422 * @syscap SystemCapability.ArkUI.ArkUI.Full 3423 * @crossplatform 3424 * @form 3425 * @atomicservice 3426 * @since 11 3427 */ 3428 TopEnd, 3429 3430 /** 3431 * The starting end is centered longitudinally. 3432 * 3433 * @syscap SystemCapability.ArkUI.ArkUI.Full 3434 * @since 7 3435 */ 3436 /** 3437 * The starting end is centered longitudinally. 3438 * 3439 * @syscap SystemCapability.ArkUI.ArkUI.Full 3440 * @form 3441 * @since 9 3442 */ 3443 /** 3444 * The starting end is centered longitudinally. 3445 * 3446 * @syscap SystemCapability.ArkUI.ArkUI.Full 3447 * @crossplatform 3448 * @form 3449 * @since 10 3450 */ 3451 /** 3452 * The starting end is centered longitudinally. 3453 * 3454 * @syscap SystemCapability.ArkUI.ArkUI.Full 3455 * @crossplatform 3456 * @form 3457 * @atomicservice 3458 * @since 11 3459 */ 3460 Start, 3461 3462 /** 3463 * Center horizontal and vertical. 3464 * 3465 * @syscap SystemCapability.ArkUI.ArkUI.Full 3466 * @since 7 3467 */ 3468 /** 3469 * Center horizontal and vertical. 3470 * 3471 * @syscap SystemCapability.ArkUI.ArkUI.Full 3472 * @form 3473 * @since 9 3474 */ 3475 /** 3476 * Center horizontal and vertical. 3477 * 3478 * @syscap SystemCapability.ArkUI.ArkUI.Full 3479 * @crossplatform 3480 * @form 3481 * @since 10 3482 */ 3483 /** 3484 * Center horizontal and vertical. 3485 * 3486 * @syscap SystemCapability.ArkUI.ArkUI.Full 3487 * @crossplatform 3488 * @form 3489 * @atomicservice 3490 * @since 11 3491 */ 3492 Center, 3493 3494 /** 3495 * The tail end is centered longitudinally. 3496 * 3497 * @syscap SystemCapability.ArkUI.ArkUI.Full 3498 * @since 7 3499 */ 3500 /** 3501 * The tail end is centered longitudinally. 3502 * 3503 * @syscap SystemCapability.ArkUI.ArkUI.Full 3504 * @form 3505 * @since 9 3506 */ 3507 /** 3508 * The tail end is centered longitudinally. 3509 * 3510 * @syscap SystemCapability.ArkUI.ArkUI.Full 3511 * @crossplatform 3512 * @form 3513 * @since 10 3514 */ 3515 /** 3516 * The tail end is centered longitudinally. 3517 * 3518 * @syscap SystemCapability.ArkUI.ArkUI.Full 3519 * @crossplatform 3520 * @form 3521 * @atomicservice 3522 * @since 11 3523 */ 3524 End, 3525 3526 /** 3527 * Bottom starting end. 3528 * 3529 * @syscap SystemCapability.ArkUI.ArkUI.Full 3530 * @since 7 3531 */ 3532 /** 3533 * Bottom starting end. 3534 * 3535 * @syscap SystemCapability.ArkUI.ArkUI.Full 3536 * @form 3537 * @since 9 3538 */ 3539 /** 3540 * Bottom starting end. 3541 * 3542 * @syscap SystemCapability.ArkUI.ArkUI.Full 3543 * @crossplatform 3544 * @form 3545 * @since 10 3546 */ 3547 /** 3548 * Bottom starting end. 3549 * 3550 * @syscap SystemCapability.ArkUI.ArkUI.Full 3551 * @crossplatform 3552 * @form 3553 * @atomicservice 3554 * @since 11 3555 */ 3556 BottomStart, 3557 3558 /** 3559 * The bottom is centered horizontally. 3560 * 3561 * @syscap SystemCapability.ArkUI.ArkUI.Full 3562 * @since 7 3563 */ 3564 /** 3565 * The bottom is centered horizontally. 3566 * 3567 * @syscap SystemCapability.ArkUI.ArkUI.Full 3568 * @form 3569 * @since 9 3570 */ 3571 /** 3572 * The bottom is centered horizontally. 3573 * 3574 * @syscap SystemCapability.ArkUI.ArkUI.Full 3575 * @crossplatform 3576 * @form 3577 * @since 10 3578 */ 3579 /** 3580 * The bottom is centered horizontally. 3581 * 3582 * @syscap SystemCapability.ArkUI.ArkUI.Full 3583 * @crossplatform 3584 * @form 3585 * @atomicservice 3586 * @since 11 3587 */ 3588 Bottom, 3589 3590 /** 3591 * Bottom end. 3592 * 3593 * @syscap SystemCapability.ArkUI.ArkUI.Full 3594 * @since 7 3595 */ 3596 /** 3597 * Bottom end. 3598 * 3599 * @syscap SystemCapability.ArkUI.ArkUI.Full 3600 * @form 3601 * @since 9 3602 */ 3603 /** 3604 * Bottom end. 3605 * 3606 * @syscap SystemCapability.ArkUI.ArkUI.Full 3607 * @crossplatform 3608 * @form 3609 * @since 10 3610 */ 3611 /** 3612 * Bottom end. 3613 * 3614 * @syscap SystemCapability.ArkUI.ArkUI.Full 3615 * @crossplatform 3616 * @form 3617 * @atomicservice 3618 * @since 11 3619 */ 3620 BottomEnd, 3621} 3622 3623/** 3624 * TransitionType enumeration description. 3625 * 3626 * @enum { number } 3627 * @syscap SystemCapability.ArkUI.ArkUI.Full 3628 * @since 7 3629 */ 3630/** 3631 * TransitionType enumeration description. 3632 * 3633 * @enum { number } 3634 * @syscap SystemCapability.ArkUI.ArkUI.Full 3635 * @form 3636 * @since 9 3637 */ 3638/** 3639 * TransitionType enumeration description. 3640 * 3641 * @enum { number } 3642 * @syscap SystemCapability.ArkUI.ArkUI.Full 3643 * @crossplatform 3644 * @form 3645 * @since 10 3646 */ 3647/** 3648 * TransitionType enumeration description. 3649 * 3650 * @enum { number } 3651 * @syscap SystemCapability.ArkUI.ArkUI.Full 3652 * @crossplatform 3653 * @form 3654 * @atomicservice 3655 * @since 11 3656 */ 3657declare enum TransitionType { 3658 /** 3659 * Specifies that the current transition action takes effect in all change scenarios of the component. 3660 * 3661 * @syscap SystemCapability.ArkUI.ArkUI.Full 3662 * @since 7 3663 */ 3664 /** 3665 * Specifies that the current transition action takes effect in all change scenarios of the component. 3666 * 3667 * @syscap SystemCapability.ArkUI.ArkUI.Full 3668 * @form 3669 * @since 9 3670 */ 3671 /** 3672 * Specifies that the current transition action takes effect in all change scenarios of the component. 3673 * 3674 * @syscap SystemCapability.ArkUI.ArkUI.Full 3675 * @crossplatform 3676 * @form 3677 * @since 10 3678 */ 3679 /** 3680 * Specifies that the current transition action takes effect in all change scenarios of the component. 3681 * 3682 * @syscap SystemCapability.ArkUI.ArkUI.Full 3683 * @crossplatform 3684 * @form 3685 * @atomicservice 3686 * @since 11 3687 */ 3688 All, 3689 3690 /** 3691 * Specifies the insertion scenario in which the current transition action takes effect. 3692 * 3693 * @syscap SystemCapability.ArkUI.ArkUI.Full 3694 * @since 7 3695 */ 3696 /** 3697 * Specifies the insertion scenario in which the current transition action takes effect. 3698 * 3699 * @syscap SystemCapability.ArkUI.ArkUI.Full 3700 * @form 3701 * @since 9 3702 */ 3703 /** 3704 * Specifies the insertion scenario in which the current transition action takes effect. 3705 * 3706 * @syscap SystemCapability.ArkUI.ArkUI.Full 3707 * @crossplatform 3708 * @form 3709 * @since 10 3710 */ 3711 /** 3712 * Specifies the insertion scenario in which the current transition action takes effect. 3713 * 3714 * @syscap SystemCapability.ArkUI.ArkUI.Full 3715 * @crossplatform 3716 * @form 3717 * @atomicservice 3718 * @since 11 3719 */ 3720 Insert, 3721 3722 /** 3723 * Specifies the deletion scenario in which the current transition action takes effect. 3724 * 3725 * @syscap SystemCapability.ArkUI.ArkUI.Full 3726 * @since 7 3727 */ 3728 /** 3729 * Specifies the deletion scenario in which the current transition action takes effect. 3730 * 3731 * @syscap SystemCapability.ArkUI.ArkUI.Full 3732 * @form 3733 * @since 9 3734 */ 3735 /** 3736 * Specifies the deletion scenario in which the current transition action takes effect. 3737 * 3738 * @syscap SystemCapability.ArkUI.ArkUI.Full 3739 * @crossplatform 3740 * @form 3741 * @since 10 3742 */ 3743 /** 3744 * Specifies the deletion scenario in which the current transition action takes effect. 3745 * 3746 * @syscap SystemCapability.ArkUI.ArkUI.Full 3747 * @crossplatform 3748 * @form 3749 * @atomicservice 3750 * @since 11 3751 */ 3752 Delete, 3753} 3754 3755/** 3756 * RelateType enumeration description 3757 * 3758 * @enum { number } 3759 * @syscap SystemCapability.ArkUI.ArkUI.Full 3760 * @since 7 3761 */ 3762/** 3763 * RelateType enumeration description 3764 * 3765 * @enum { number } 3766 * @syscap SystemCapability.ArkUI.ArkUI.Full 3767 * @crossplatform 3768 * @since 10 3769 */ 3770/** 3771 * RelateType enumeration description 3772 * 3773 * @enum { number } 3774 * @syscap SystemCapability.ArkUI.ArkUI.Full 3775 * @crossplatform 3776 * @atomicservice 3777 * @since 11 3778 */ 3779declare enum RelateType { 3780 /** 3781 * Scales the current component to fill the parent component. 3782 * 3783 * @syscap SystemCapability.ArkUI.ArkUI.Full 3784 * @since 7 3785 */ 3786 /** 3787 * Scales the current component to fill the parent component. 3788 * 3789 * @syscap SystemCapability.ArkUI.ArkUI.Full 3790 * @crossplatform 3791 * @since 10 3792 */ 3793 /** 3794 * Scales the current component to fill the parent component. 3795 * 3796 * @syscap SystemCapability.ArkUI.ArkUI.Full 3797 * @crossplatform 3798 * @atomicservice 3799 * @since 11 3800 */ 3801 FILL, 3802 3803 /** 3804 * Scales the current component to fit the parent component. 3805 * 3806 * @syscap SystemCapability.ArkUI.ArkUI.Full 3807 * @since 7 3808 */ 3809 /** 3810 * Scales the current component to fit the parent component. 3811 * 3812 * @syscap SystemCapability.ArkUI.ArkUI.Full 3813 * @crossplatform 3814 * @since 10 3815 */ 3816 /** 3817 * Scales the current component to fit the parent component. 3818 * 3819 * @syscap SystemCapability.ArkUI.ArkUI.Full 3820 * @crossplatform 3821 * @atomicservice 3822 * @since 11 3823 */ 3824 FIT, 3825} 3826 3827/** 3828 * Controls the display or hide of the current component 3829 * 3830 * @enum { number } 3831 * @syscap SystemCapability.ArkUI.ArkUI.Full 3832 * @since 7 3833 */ 3834/** 3835 * Controls the display or hide of the current component 3836 * 3837 * @enum { number } 3838 * @syscap SystemCapability.ArkUI.ArkUI.Full 3839 * @form 3840 * @since 9 3841 */ 3842/** 3843 * Controls the display or hide of the current component 3844 * 3845 * @enum { number } 3846 * @syscap SystemCapability.ArkUI.ArkUI.Full 3847 * @crossplatform 3848 * @form 3849 * @since 10 3850 */ 3851/** 3852 * Controls the display or hide of the current component 3853 * 3854 * @enum { number } 3855 * @syscap SystemCapability.ArkUI.ArkUI.Full 3856 * @crossplatform 3857 * @form 3858 * @atomicservice 3859 * @since 11 3860 */ 3861declare enum Visibility { 3862 /** 3863 * Show 3864 * 3865 * @syscap SystemCapability.ArkUI.ArkUI.Full 3866 * @since 7 3867 */ 3868 /** 3869 * Show 3870 * 3871 * @syscap SystemCapability.ArkUI.ArkUI.Full 3872 * @form 3873 * @since 9 3874 */ 3875 /** 3876 * Show 3877 * 3878 * @syscap SystemCapability.ArkUI.ArkUI.Full 3879 * @crossplatform 3880 * @form 3881 * @since 10 3882 */ 3883 /** 3884 * Show 3885 * 3886 * @syscap SystemCapability.ArkUI.ArkUI.Full 3887 * @crossplatform 3888 * @form 3889 * @atomicservice 3890 * @since 11 3891 */ 3892 Visible, 3893 3894 /** 3895 * Hide, but participate in layout for placeholder. 3896 * 3897 * @syscap SystemCapability.ArkUI.ArkUI.Full 3898 * @since 7 3899 */ 3900 /** 3901 * Hide, but participate in layout for placeholder. 3902 * 3903 * @syscap SystemCapability.ArkUI.ArkUI.Full 3904 * @form 3905 * @since 9 3906 */ 3907 /** 3908 * Hide, but participate in layout for placeholder. 3909 * 3910 * @syscap SystemCapability.ArkUI.ArkUI.Full 3911 * @crossplatform 3912 * @form 3913 * @since 10 3914 */ 3915 /** 3916 * Hide, but participate in layout for placeholder. 3917 * 3918 * @syscap SystemCapability.ArkUI.ArkUI.Full 3919 * @crossplatform 3920 * @form 3921 * @atomicservice 3922 * @since 11 3923 */ 3924 Hidden, 3925 3926 /** 3927 * Hides but does not participate in layout and does not take place. 3928 * 3929 * @syscap SystemCapability.ArkUI.ArkUI.Full 3930 * @since 7 3931 */ 3932 /** 3933 * Hides but does not participate in layout and does not take place. 3934 * 3935 * @syscap SystemCapability.ArkUI.ArkUI.Full 3936 * @form 3937 * @since 9 3938 */ 3939 /** 3940 * Hides but does not participate in layout and does not take place. 3941 * 3942 * @syscap SystemCapability.ArkUI.ArkUI.Full 3943 * @crossplatform 3944 * @form 3945 * @since 10 3946 */ 3947 /** 3948 * Hides but does not participate in layout and does not take place. 3949 * 3950 * @syscap SystemCapability.ArkUI.ArkUI.Full 3951 * @crossplatform 3952 * @form 3953 * @atomicservice 3954 * @since 11 3955 */ 3956 None, 3957} 3958 3959/** 3960 * LineCapStyle enumeration description 3961 * 3962 * @enum { number } 3963 * @syscap SystemCapability.ArkUI.ArkUI.Full 3964 * @since 7 3965 */ 3966/** 3967 * LineCapStyle enumeration description 3968 * 3969 * @enum { number } 3970 * @syscap SystemCapability.ArkUI.ArkUI.Full 3971 * @form 3972 * @since 9 3973 */ 3974/** 3975 * LineCapStyle enumeration description 3976 * 3977 * @enum { number } 3978 * @syscap SystemCapability.ArkUI.ArkUI.Full 3979 * @crossplatform 3980 * @form 3981 * @since 10 3982 */ 3983/** 3984 * LineCapStyle enumeration description 3985 * 3986 * @enum { number } 3987 * @syscap SystemCapability.ArkUI.ArkUI.Full 3988 * @crossplatform 3989 * @form 3990 * @atomicservice 3991 * @since 11 3992 */ 3993declare enum LineCapStyle { 3994 /** 3995 * The two ends of the dividing line are parallel lines. 3996 * 3997 * @syscap SystemCapability.ArkUI.ArkUI.Full 3998 * @since 7 3999 */ 4000 /** 4001 * The two ends of the dividing line are parallel lines. 4002 * 4003 * @syscap SystemCapability.ArkUI.ArkUI.Full 4004 * @form 4005 * @since 9 4006 */ 4007 /** 4008 * The two ends of the dividing line are parallel lines. 4009 * 4010 * @syscap SystemCapability.ArkUI.ArkUI.Full 4011 * @crossplatform 4012 * @form 4013 * @since 10 4014 */ 4015 /** 4016 * The two ends of the dividing line are parallel lines. 4017 * 4018 * @syscap SystemCapability.ArkUI.ArkUI.Full 4019 * @crossplatform 4020 * @form 4021 * @atomicservice 4022 * @since 11 4023 */ 4024 Butt, 4025 4026 /** 4027 * The two ends of the dividing line are semicircles. 4028 * 4029 * @syscap SystemCapability.ArkUI.ArkUI.Full 4030 * @since 7 4031 */ 4032 /** 4033 * The two ends of the dividing line are semicircles. 4034 * 4035 * @syscap SystemCapability.ArkUI.ArkUI.Full 4036 * @form 4037 * @since 9 4038 */ 4039 /** 4040 * The two ends of the dividing line are semicircles. 4041 * 4042 * @syscap SystemCapability.ArkUI.ArkUI.Full 4043 * @crossplatform 4044 * @form 4045 * @since 10 4046 */ 4047 /** 4048 * The two ends of the dividing line are semicircles. 4049 * 4050 * @syscap SystemCapability.ArkUI.ArkUI.Full 4051 * @crossplatform 4052 * @form 4053 * @atomicservice 4054 * @since 11 4055 */ 4056 Round, 4057 4058 /** 4059 * 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. 4060 * 4061 * @syscap SystemCapability.ArkUI.ArkUI.Full 4062 * @since 7 4063 */ 4064 /** 4065 * 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. 4066 * 4067 * @syscap SystemCapability.ArkUI.ArkUI.Full 4068 * @form 4069 * @since 9 4070 */ 4071 /** 4072 * 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. 4073 * 4074 * @syscap SystemCapability.ArkUI.ArkUI.Full 4075 * @crossplatform 4076 * @form 4077 * @since 10 4078 */ 4079 /** 4080 * 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. 4081 * 4082 * @syscap SystemCapability.ArkUI.ArkUI.Full 4083 * @crossplatform 4084 * @form 4085 * @atomicservice 4086 * @since 11 4087 */ 4088 Square, 4089} 4090 4091/** 4092 * Axis enumeration description. 4093 * 4094 * @enum { number } 4095 * @syscap SystemCapability.ArkUI.ArkUI.Full 4096 * @since 7 4097 */ 4098/** 4099 * Axis enumeration description. 4100 * 4101 * @enum { number } 4102 * @syscap SystemCapability.ArkUI.ArkUI.Full 4103 * @form 4104 * @since 9 4105 */ 4106/** 4107 * Axis enumeration description. 4108 * 4109 * @enum { number } 4110 * @syscap SystemCapability.ArkUI.ArkUI.Full 4111 * @crossplatform 4112 * @form 4113 * @since 10 4114 */ 4115/** 4116 * Axis enumeration description. 4117 * 4118 * @enum { number } 4119 * @syscap SystemCapability.ArkUI.ArkUI.Full 4120 * @crossplatform 4121 * @form 4122 * @atomicservice 4123 * @since 11 4124 */ 4125declare enum Axis { 4126 /** 4127 * Longitudinal arrangement 4128 * 4129 * @syscap SystemCapability.ArkUI.ArkUI.Full 4130 * @since 7 4131 */ 4132 /** 4133 * Longitudinal arrangement 4134 * 4135 * @syscap SystemCapability.ArkUI.ArkUI.Full 4136 * @form 4137 * @since 9 4138 */ 4139 /** 4140 * Longitudinal arrangement 4141 * 4142 * @syscap SystemCapability.ArkUI.ArkUI.Full 4143 * @crossplatform 4144 * @form 4145 * @since 10 4146 */ 4147 /** 4148 * Longitudinal arrangement 4149 * 4150 * @syscap SystemCapability.ArkUI.ArkUI.Full 4151 * @crossplatform 4152 * @form 4153 * @atomicservice 4154 * @since 11 4155 */ 4156 Vertical, 4157 4158 /** 4159 * Horizontal arrangement. 4160 * 4161 * @syscap SystemCapability.ArkUI.ArkUI.Full 4162 * @since 7 4163 */ 4164 /** 4165 * Horizontal arrangement. 4166 * 4167 * @syscap SystemCapability.ArkUI.ArkUI.Full 4168 * @form 4169 * @since 9 4170 */ 4171 /** 4172 * Horizontal arrangement. 4173 * 4174 * @syscap SystemCapability.ArkUI.ArkUI.Full 4175 * @crossplatform 4176 * @form 4177 * @since 10 4178 */ 4179 /** 4180 * Horizontal arrangement. 4181 * 4182 * @syscap SystemCapability.ArkUI.ArkUI.Full 4183 * @crossplatform 4184 * @form 4185 * @atomicservice 4186 * @since 11 4187 */ 4188 Horizontal, 4189} 4190 4191/** 4192 * HorizontalAlign enumeration description. 4193 * 4194 * @enum { number } 4195 * @syscap SystemCapability.ArkUI.ArkUI.Full 4196 * @since 7 4197 */ 4198/** 4199 * HorizontalAlign enumeration description. 4200 * 4201 * @enum { number } 4202 * @syscap SystemCapability.ArkUI.ArkUI.Full 4203 * @form 4204 * @since 9 4205 */ 4206/** 4207 * HorizontalAlign enumeration description. 4208 * 4209 * @enum { number } 4210 * @syscap SystemCapability.ArkUI.ArkUI.Full 4211 * @crossplatform 4212 * @form 4213 * @since 10 4214 */ 4215/** 4216 * HorizontalAlign enumeration description. 4217 * 4218 * @enum { number } 4219 * @syscap SystemCapability.ArkUI.ArkUI.Full 4220 * @crossplatform 4221 * @form 4222 * @atomicservice 4223 * @since 11 4224 */ 4225declare enum HorizontalAlign { 4226 /** 4227 * Aligns the start end in the language direction. 4228 * 4229 * @syscap SystemCapability.ArkUI.ArkUI.Full 4230 * @since 7 4231 */ 4232 /** 4233 * Aligns the start end in the language direction. 4234 * 4235 * @syscap SystemCapability.ArkUI.ArkUI.Full 4236 * @form 4237 * @since 9 4238 */ 4239 /** 4240 * Aligns the start end in the language direction. 4241 * 4242 * @syscap SystemCapability.ArkUI.ArkUI.Full 4243 * @crossplatform 4244 * @form 4245 * @since 10 4246 */ 4247 /** 4248 * Aligns the start end in the language direction. 4249 * 4250 * @syscap SystemCapability.ArkUI.ArkUI.Full 4251 * @crossplatform 4252 * @form 4253 * @atomicservice 4254 * @since 11 4255 */ 4256 Start, 4257 4258 /** 4259 * Center alignment. The default alignment mode is used. 4260 * 4261 * @syscap SystemCapability.ArkUI.ArkUI.Full 4262 * @since 7 4263 */ 4264 /** 4265 * Center alignment. The default alignment mode is used. 4266 * 4267 * @syscap SystemCapability.ArkUI.ArkUI.Full 4268 * @form 4269 * @since 9 4270 */ 4271 /** 4272 * Center alignment. The default alignment mode is used. 4273 * 4274 * @syscap SystemCapability.ArkUI.ArkUI.Full 4275 * @crossplatform 4276 * @form 4277 * @since 10 4278 */ 4279 /** 4280 * Center alignment. The default alignment mode is used. 4281 * 4282 * @syscap SystemCapability.ArkUI.ArkUI.Full 4283 * @crossplatform 4284 * @form 4285 * @atomicservice 4286 * @since 11 4287 */ 4288 Center, 4289 4290 /** 4291 * Aligns the ends in the language direction. 4292 * 4293 * @syscap SystemCapability.ArkUI.ArkUI.Full 4294 * @since 7 4295 */ 4296 /** 4297 * Aligns the ends in the language direction. 4298 * 4299 * @syscap SystemCapability.ArkUI.ArkUI.Full 4300 * @form 4301 * @since 9 4302 */ 4303 /** 4304 * Aligns the ends in the language direction. 4305 * 4306 * @syscap SystemCapability.ArkUI.ArkUI.Full 4307 * @crossplatform 4308 * @form 4309 * @since 10 4310 */ 4311 /** 4312 * Aligns the ends in the language direction. 4313 * 4314 * @syscap SystemCapability.ArkUI.ArkUI.Full 4315 * @crossplatform 4316 * @form 4317 * @atomicservice 4318 * @since 11 4319 */ 4320 End, 4321} 4322 4323/** 4324 * FlexAlign enumeration description. 4325 * 4326 * @enum { number } 4327 * @syscap SystemCapability.ArkUI.ArkUI.Full 4328 * @since 7 4329 */ 4330/** 4331 * FlexAlign enumeration description. 4332 * 4333 * @enum { number } 4334 * @syscap SystemCapability.ArkUI.ArkUI.Full 4335 * @form 4336 * @since 9 4337 */ 4338/** 4339 * FlexAlign enumeration description. 4340 * 4341 * @enum { number } 4342 * @syscap SystemCapability.ArkUI.ArkUI.Full 4343 * @crossplatform 4344 * @form 4345 * @since 10 4346 */ 4347/** 4348 * FlexAlign enumeration description. 4349 * 4350 * @enum { number } 4351 * @syscap SystemCapability.ArkUI.ArkUI.Full 4352 * @crossplatform 4353 * @form 4354 * @atomicservice 4355 * @since 11 4356 */ 4357declare enum FlexAlign { 4358 /** 4359 * The element is aligned at the head of the principal axis, 4360 * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. 4361 * 4362 * @syscap SystemCapability.ArkUI.ArkUI.Full 4363 * @since 7 4364 */ 4365 /** 4366 * The element is aligned at the head of the principal axis, 4367 * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. 4368 * 4369 * @syscap SystemCapability.ArkUI.ArkUI.Full 4370 * @form 4371 * @since 9 4372 */ 4373 /** 4374 * The element is aligned at the head of the principal axis, 4375 * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. 4376 * 4377 * @syscap SystemCapability.ArkUI.ArkUI.Full 4378 * @crossplatform 4379 * @form 4380 * @since 10 4381 */ 4382 /** 4383 * The element is aligned at the head of the principal axis, 4384 * the first element is aligned with the head of the row, and subsequent elements are aligned with the previous one. 4385 * 4386 * @syscap SystemCapability.ArkUI.ArkUI.Full 4387 * @crossplatform 4388 * @form 4389 * @atomicservice 4390 * @since 11 4391 */ 4392 Start, 4393 4394 /** 4395 * The elements are centered in the direction of the principal axis, 4396 * 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. 4397 * 4398 * @syscap SystemCapability.ArkUI.ArkUI.Full 4399 * @since 7 4400 */ 4401 /** 4402 * The elements are centered in the direction of the principal axis, 4403 * 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. 4404 * 4405 * @syscap SystemCapability.ArkUI.ArkUI.Full 4406 * @form 4407 * @since 9 4408 */ 4409 /** 4410 * The elements are centered in the direction of the principal axis, 4411 * 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. 4412 * 4413 * @syscap SystemCapability.ArkUI.ArkUI.Full 4414 * @crossplatform 4415 * @form 4416 * @since 10 4417 */ 4418 /** 4419 * The elements are centered in the direction of the principal axis, 4420 * 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. 4421 * 4422 * @syscap SystemCapability.ArkUI.ArkUI.Full 4423 * @crossplatform 4424 * @form 4425 * @atomicservice 4426 * @since 11 4427 */ 4428 Center, 4429 4430 /** 4431 * The element is aligned at the tail of the principal axis, 4432 * the last element is aligned at the end of the row, and the other elements are aligned with the next. 4433 * 4434 * @syscap SystemCapability.ArkUI.ArkUI.Full 4435 * @since 7 4436 */ 4437 /** 4438 * The element is aligned at the tail of the principal axis, 4439 * the last element is aligned at the end of the row, and the other elements are aligned with the next. 4440 * 4441 * @syscap SystemCapability.ArkUI.ArkUI.Full 4442 * @form 4443 * @since 9 4444 */ 4445 /** 4446 * The element is aligned at the tail of the principal axis, 4447 * the last element is aligned at the end of the row, and the other elements are aligned with the next. 4448 * 4449 * @syscap SystemCapability.ArkUI.ArkUI.Full 4450 * @crossplatform 4451 * @form 4452 * @since 10 4453 */ 4454 /** 4455 * The element is aligned at the tail of the principal axis, 4456 * the last element is aligned at the end of the row, and the other elements are aligned with the next. 4457 * 4458 * @syscap SystemCapability.ArkUI.ArkUI.Full 4459 * @crossplatform 4460 * @form 4461 * @atomicservice 4462 * @since 11 4463 */ 4464 End, 4465 4466 /** 4467 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4468 * with the same distance between adjacent elements. 4469 * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. 4470 * 4471 * @syscap SystemCapability.ArkUI.ArkUI.Full 4472 * @since 7 4473 */ 4474 /** 4475 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4476 * with the same distance between adjacent elements. 4477 * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. 4478 * 4479 * @syscap SystemCapability.ArkUI.ArkUI.Full 4480 * @form 4481 * @since 9 4482 */ 4483 /** 4484 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4485 * with the same distance between adjacent elements. 4486 * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. 4487 * 4488 * @syscap SystemCapability.ArkUI.ArkUI.Full 4489 * @crossplatform 4490 * @form 4491 * @since 10 4492 */ 4493 /** 4494 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4495 * with the same distance between adjacent elements. 4496 * The first element aligns with the beginning of the line, and the last element aligns with the end of the line. 4497 * 4498 * @syscap SystemCapability.ArkUI.ArkUI.Full 4499 * @crossplatform 4500 * @form 4501 * @atomicservice 4502 * @since 11 4503 */ 4504 SpaceBetween, 4505 4506 /** 4507 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4508 * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between 4509 * the first element and the distance between the last element and the end of the row. 4510 * 4511 * @syscap SystemCapability.ArkUI.ArkUI.Full 4512 * @since 7 4513 */ 4514 /** 4515 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4516 * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between 4517 * the first element and the distance between the last element and the end of the row. 4518 * 4519 * @syscap SystemCapability.ArkUI.ArkUI.Full 4520 * @form 4521 * @since 9 4522 */ 4523 /** 4524 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4525 * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between 4526 * the first element and the distance between the last element and the end of the row. 4527 * 4528 * @syscap SystemCapability.ArkUI.ArkUI.Full 4529 * @crossplatform 4530 * @form 4531 * @since 10 4532 */ 4533 /** 4534 * Elastic elements are evenly distributed in the direction of the Flex principal axis, 4535 * with the same distance between adjacent elements. Half the distance between adjacent elements as the distance between 4536 * the first element and the distance between the last element and the end of the row. 4537 * 4538 * @syscap SystemCapability.ArkUI.ArkUI.Full 4539 * @crossplatform 4540 * @form 4541 * @atomicservice 4542 * @since 11 4543 */ 4544 SpaceAround, 4545 4546 /** 4547 * Elements in the Flex axis direction are evenly spaced. 4548 * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, 4549 * and the spacing between the last element and the end of the row are the same. 4550 * 4551 * @syscap SystemCapability.ArkUI.ArkUI.Full 4552 * @since 7 4553 */ 4554 /** 4555 * Elements in the Flex axis direction are evenly spaced. 4556 * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, 4557 * and the spacing between the last element and the end of the row are the same. 4558 * 4559 * @syscap SystemCapability.ArkUI.ArkUI.Full 4560 * @form 4561 * @since 9 4562 */ 4563 /** 4564 * Elements in the Flex axis direction are evenly spaced. 4565 * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, 4566 * and the spacing between the last element and the end of the row are the same. 4567 * 4568 * @syscap SystemCapability.ArkUI.ArkUI.Full 4569 * @crossplatform 4570 * @form 4571 * @since 10 4572 */ 4573 /** 4574 * Elements in the Flex axis direction are evenly spaced. 4575 * The spacing between adjacent elements, the spacing between the first element and the beginning of the row, 4576 * and the spacing between the last element and the end of the row are the same. 4577 * 4578 * @syscap SystemCapability.ArkUI.ArkUI.Full 4579 * @crossplatform 4580 * @form 4581 * @atomicservice 4582 * @since 11 4583 */ 4584 SpaceEvenly, 4585} 4586 4587/** 4588 * ItemAlign enumeration description 4589 * 4590 * @enum { number } 4591 * @syscap SystemCapability.ArkUI.ArkUI.Full 4592 * @since 7 4593 */ 4594/** 4595 * ItemAlign enumeration description 4596 * 4597 * @enum { number } 4598 * @syscap SystemCapability.ArkUI.ArkUI.Full 4599 * @form 4600 * @since 9 4601 */ 4602/** 4603 * ItemAlign enumeration description 4604 * 4605 * @enum { number } 4606 * @syscap SystemCapability.ArkUI.ArkUI.Full 4607 * @crossplatform 4608 * @form 4609 * @since 10 4610 */ 4611/** 4612 * ItemAlign enumeration description 4613 * 4614 * @enum { number } 4615 * @syscap SystemCapability.ArkUI.ArkUI.Full 4616 * @crossplatform 4617 * @form 4618 * @atomicservice 4619 * @since 11 4620 */ 4621declare enum ItemAlign { 4622 /** 4623 * Use the default configuration in the Flex container. 4624 * 4625 * @syscap SystemCapability.ArkUI.ArkUI.Full 4626 * @since 7 4627 */ 4628 /** 4629 * Use the default configuration in the Flex container. 4630 * 4631 * @syscap SystemCapability.ArkUI.ArkUI.Full 4632 * @form 4633 * @since 9 4634 */ 4635 /** 4636 * Use the default configuration in the Flex container. 4637 * 4638 * @syscap SystemCapability.ArkUI.ArkUI.Full 4639 * @crossplatform 4640 * @form 4641 * @since 10 4642 */ 4643 /** 4644 * Use the default configuration in the Flex container. 4645 * 4646 * @syscap SystemCapability.ArkUI.ArkUI.Full 4647 * @crossplatform 4648 * @form 4649 * @atomicservice 4650 * @since 11 4651 */ 4652 Auto, 4653 4654 /** 4655 * The element is in the Flex container with the cross-axis direction head aligned. 4656 * 4657 * @syscap SystemCapability.ArkUI.ArkUI.Full 4658 * @since 7 4659 */ 4660 /** 4661 * The element is in the Flex container with the cross-axis direction head aligned. 4662 * 4663 * @syscap SystemCapability.ArkUI.ArkUI.Full 4664 * @form 4665 * @since 9 4666 */ 4667 /** 4668 * The element is in the Flex container with the cross-axis direction head aligned. 4669 * 4670 * @syscap SystemCapability.ArkUI.ArkUI.Full 4671 * @crossplatform 4672 * @form 4673 * @since 10 4674 */ 4675 /** 4676 * The element is in the Flex container with the cross-axis direction head aligned. 4677 * 4678 * @syscap SystemCapability.ArkUI.ArkUI.Full 4679 * @crossplatform 4680 * @form 4681 * @atomicservice 4682 * @since 11 4683 */ 4684 Start, 4685 4686 /** 4687 * The element is centered in the Flex container with the cross axis direction aligned. 4688 * 4689 * @syscap SystemCapability.ArkUI.ArkUI.Full 4690 * @since 7 4691 */ 4692 /** 4693 * The element is centered in the Flex container with the cross axis direction aligned. 4694 * 4695 * @syscap SystemCapability.ArkUI.ArkUI.Full 4696 * @form 4697 * @since 9 4698 */ 4699 /** 4700 * The element is centered in the Flex container with the cross axis direction aligned. 4701 * 4702 * @syscap SystemCapability.ArkUI.ArkUI.Full 4703 * @crossplatform 4704 * @form 4705 * @since 10 4706 */ 4707 /** 4708 * The element is centered in the Flex container with the cross axis direction aligned. 4709 * 4710 * @syscap SystemCapability.ArkUI.ArkUI.Full 4711 * @crossplatform 4712 * @form 4713 * @atomicservice 4714 * @since 11 4715 */ 4716 Center, 4717 4718 /** 4719 * The element is bottom aligned in the Flex container with the cross axis direction. 4720 * 4721 * @syscap SystemCapability.ArkUI.ArkUI.Full 4722 * @since 7 4723 */ 4724 /** 4725 * The element is bottom aligned in the Flex container with the cross axis direction. 4726 * 4727 * @syscap SystemCapability.ArkUI.ArkUI.Full 4728 * @form 4729 * @since 9 4730 */ 4731 /** 4732 * The element is bottom aligned in the Flex container with the cross axis direction. 4733 * 4734 * @syscap SystemCapability.ArkUI.ArkUI.Full 4735 * @crossplatform 4736 * @form 4737 * @since 10 4738 */ 4739 /** 4740 * The element is bottom aligned in the Flex container with the cross axis direction. 4741 * 4742 * @syscap SystemCapability.ArkUI.ArkUI.Full 4743 * @crossplatform 4744 * @form 4745 * @atomicservice 4746 * @since 11 4747 */ 4748 End, 4749 4750 /** 4751 * Element In the Flex container, the cross-axis direction text baseline is aligned. 4752 * 4753 * @syscap SystemCapability.ArkUI.ArkUI.Full 4754 * @since 7 4755 */ 4756 /** 4757 * Element In the Flex container, the cross-axis direction text baseline is aligned. 4758 * 4759 * @syscap SystemCapability.ArkUI.ArkUI.Full 4760 * @form 4761 * @since 9 4762 */ 4763 /** 4764 * Element In the Flex container, the cross-axis direction text baseline is aligned. 4765 * 4766 * @syscap SystemCapability.ArkUI.ArkUI.Full 4767 * @crossplatform 4768 * @form 4769 * @since 10 4770 */ 4771 /** 4772 * Element In the Flex container, the cross-axis direction text baseline is aligned. 4773 * 4774 * @syscap SystemCapability.ArkUI.ArkUI.Full 4775 * @crossplatform 4776 * @form 4777 * @atomicservice 4778 * @since 11 4779 */ 4780 Baseline, 4781 4782 /** 4783 * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. 4784 * 4785 * @syscap SystemCapability.ArkUI.ArkUI.Full 4786 * @since 7 4787 */ 4788 /** 4789 * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. 4790 * 4791 * @syscap SystemCapability.ArkUI.ArkUI.Full 4792 * @form 4793 * @since 9 4794 */ 4795 /** 4796 * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. 4797 * 4798 * @syscap SystemCapability.ArkUI.ArkUI.Full 4799 * @crossplatform 4800 * @form 4801 * @since 10 4802 */ 4803 /** 4804 * Element In a Flex container, the fill is stretched across the axis and, when no dimension is set, to the container size. 4805 * 4806 * @syscap SystemCapability.ArkUI.ArkUI.Full 4807 * @crossplatform 4808 * @form 4809 * @atomicservice 4810 * @since 11 4811 */ 4812 Stretch, 4813} 4814 4815/** 4816 * FlexDirection enumeration description 4817 * 4818 * @enum { number } 4819 * @syscap SystemCapability.ArkUI.ArkUI.Full 4820 * @since 7 4821 */ 4822/** 4823 * FlexDirection enumeration description 4824 * 4825 * @enum { number } 4826 * @syscap SystemCapability.ArkUI.ArkUI.Full 4827 * @form 4828 * @since 9 4829 */ 4830/** 4831 * FlexDirection enumeration description 4832 * 4833 * @enum { number } 4834 * @syscap SystemCapability.ArkUI.ArkUI.Full 4835 * @crossplatform 4836 * @form 4837 * @since 10 4838 */ 4839/** 4840 * FlexDirection enumeration description 4841 * 4842 * @enum { number } 4843 * @syscap SystemCapability.ArkUI.ArkUI.Full 4844 * @crossplatform 4845 * @form 4846 * @atomicservice 4847 * @since 11 4848 */ 4849declare enum FlexDirection { 4850 /** 4851 * The main axis is consistent with the row direction as the layout mode. 4852 * 4853 * @syscap SystemCapability.ArkUI.ArkUI.Full 4854 * @since 7 4855 */ 4856 /** 4857 * The main axis is consistent with the row direction as the layout mode. 4858 * 4859 * @syscap SystemCapability.ArkUI.ArkUI.Full 4860 * @form 4861 * @since 9 4862 */ 4863 /** 4864 * The main axis is consistent with the row direction as the layout mode. 4865 * 4866 * @syscap SystemCapability.ArkUI.ArkUI.Full 4867 * @crossplatform 4868 * @form 4869 * @since 10 4870 */ 4871 /** 4872 * The main axis is consistent with the row direction as the layout mode. 4873 * 4874 * @syscap SystemCapability.ArkUI.ArkUI.Full 4875 * @crossplatform 4876 * @form 4877 * @atomicservice 4878 * @since 11 4879 */ 4880 Row, 4881 4882 /** 4883 * The main axis is consistent with the column direction as the layout mode. 4884 * 4885 * @syscap SystemCapability.ArkUI.ArkUI.Full 4886 * @since 7 4887 */ 4888 /** 4889 * The main axis is consistent with the column direction as the layout mode. 4890 * 4891 * @syscap SystemCapability.ArkUI.ArkUI.Full 4892 * @form 4893 * @since 9 4894 */ 4895 /** 4896 * The main axis is consistent with the column direction as the layout mode. 4897 * 4898 * @syscap SystemCapability.ArkUI.ArkUI.Full 4899 * @crossplatform 4900 * @form 4901 * @since 10 4902 */ 4903 /** 4904 * The main axis is consistent with the column direction as the layout mode. 4905 * 4906 * @syscap SystemCapability.ArkUI.ArkUI.Full 4907 * @crossplatform 4908 * @form 4909 * @atomicservice 4910 * @since 11 4911 */ 4912 Column, 4913 4914 /** 4915 * The layout is in the opposite direction to the Row direction. 4916 * 4917 * @syscap SystemCapability.ArkUI.ArkUI.Full 4918 * @since 7 4919 */ 4920 /** 4921 * The layout is in the opposite direction to the Row direction. 4922 * 4923 * @syscap SystemCapability.ArkUI.ArkUI.Full 4924 * @form 4925 * @since 9 4926 */ 4927 /** 4928 * The layout is in the opposite direction to the Row direction. 4929 * 4930 * @syscap SystemCapability.ArkUI.ArkUI.Full 4931 * @crossplatform 4932 * @form 4933 * @since 10 4934 */ 4935 /** 4936 * The layout is in the opposite direction to the Row direction. 4937 * 4938 * @syscap SystemCapability.ArkUI.ArkUI.Full 4939 * @crossplatform 4940 * @form 4941 * @atomicservice 4942 * @since 11 4943 */ 4944 RowReverse, 4945 4946 /** 4947 * Layout in the opposite direction to the column. 4948 * 4949 * @syscap SystemCapability.ArkUI.ArkUI.Full 4950 * @since 7 4951 */ 4952 /** 4953 * Layout in the opposite direction to the column. 4954 * 4955 * @syscap SystemCapability.ArkUI.ArkUI.Full 4956 * @form 4957 * @since 9 4958 */ 4959 /** 4960 * Layout in the opposite direction to the column. 4961 * 4962 * @syscap SystemCapability.ArkUI.ArkUI.Full 4963 * @crossplatform 4964 * @form 4965 * @since 10 4966 */ 4967 /** 4968 * Layout in the opposite direction to the column. 4969 * 4970 * @syscap SystemCapability.ArkUI.ArkUI.Full 4971 * @crossplatform 4972 * @form 4973 * @atomicservice 4974 * @since 11 4975 */ 4976 ColumnReverse, 4977} 4978 4979/** 4980 * Pixel Round Direction 4981 * 4982 * @enum { number } 4983 * @syscap SystemCapability.ArkUI.ArkUI.Full 4984 * @crossplatform 4985 * @form 4986 * @atomicservice 4987 * @since 11 4988 */ 4989declare enum PixelRoundCalcPolicy { 4990 /** 4991 * No Force round the component boundary coordinates to integer pixel. 4992 * 4993 * @syscap SystemCapability.ArkUI.ArkUI.Full 4994 * @crossplatform 4995 * @form 4996 * @atomicservice 4997 * @since 11 4998 */ 4999 NO_FORCE_ROUND = 0, 5000 /** 5001 * Force ceil the component boundary coordinates to integer pixel. 5002 * 5003 * @syscap SystemCapability.ArkUI.ArkUI.Full 5004 * @crossplatform 5005 * @form 5006 * @atomicservice 5007 * @since 11 5008 */ 5009 FORCE_CEIL = 1, 5010 /** 5011 * Force floor the component boundary coordinates to integer pixel. 5012 * 5013 * @syscap SystemCapability.ArkUI.ArkUI.Full 5014 * @crossplatform 5015 * @form 5016 * @atomicservice 5017 * @since 11 5018 */ 5019 FORCE_FLOOR = 2, 5020} 5021 5022/** 5023 * FlexWrap enumeration description 5024 * 5025 * @enum { number } 5026 * @syscap SystemCapability.ArkUI.ArkUI.Full 5027 * @since 7 5028 */ 5029/** 5030 * FlexWrap enumeration description 5031 * 5032 * @enum { number } 5033 * @syscap SystemCapability.ArkUI.ArkUI.Full 5034 * @form 5035 * @since 9 5036 */ 5037/** 5038 * FlexWrap enumeration description 5039 * 5040 * @enum { number } 5041 * @syscap SystemCapability.ArkUI.ArkUI.Full 5042 * @crossplatform 5043 * @form 5044 * @since 10 5045 */ 5046/** 5047 * FlexWrap enumeration description 5048 * 5049 * @enum { number } 5050 * @syscap SystemCapability.ArkUI.ArkUI.Full 5051 * @crossplatform 5052 * @form 5053 * @atomicservice 5054 * @since 11 5055 */ 5056declare enum FlexWrap { 5057 /** 5058 * The Flex container has a single row/column layout of elements, and children are allowed to go beyond the container. 5059 * 5060 * @syscap SystemCapability.ArkUI.ArkUI.Full 5061 * @since 7 5062 */ 5063 /** 5064 * The Flex container has a single row/column layout of elements, and children are allowed to go beyond the container. 5065 * 5066 * @syscap SystemCapability.ArkUI.ArkUI.Full 5067 * @form 5068 * @since 9 5069 */ 5070 /** 5071 * The Flex container has a single row/column layout of elements, and children are allowed to go beyond the container. 5072 * 5073 * @syscap SystemCapability.ArkUI.ArkUI.Full 5074 * @crossplatform 5075 * @form 5076 * @since 10 5077 */ 5078 /** 5079 * The Flex container has a single row/column layout of elements, and children are allowed to go beyond the container. 5080 * 5081 * @syscap SystemCapability.ArkUI.ArkUI.Full 5082 * @crossplatform 5083 * @form 5084 * @atomicservice 5085 * @since 11 5086 */ 5087 NoWrap, 5088 5089 /** 5090 * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. 5091 * 5092 * @syscap SystemCapability.ArkUI.ArkUI.Full 5093 * @since 7 5094 */ 5095 /** 5096 * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. 5097 * 5098 * @syscap SystemCapability.ArkUI.ArkUI.Full 5099 * @form 5100 * @since 9 5101 */ 5102 /** 5103 * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. 5104 * 5105 * @syscap SystemCapability.ArkUI.ArkUI.Full 5106 * @crossplatform 5107 * @form 5108 * @since 10 5109 */ 5110 /** 5111 * The elements of the Flex container are arranged in multiple rows or columns, and the sub-items are allowed to exceed the container. 5112 * 5113 * @syscap SystemCapability.ArkUI.ArkUI.Full 5114 * @crossplatform 5115 * @form 5116 * @atomicservice 5117 * @since 11 5118 */ 5119 Wrap, 5120 5121 /** 5122 * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. 5123 * 5124 * @syscap SystemCapability.ArkUI.ArkUI.Full 5125 * @since 7 5126 */ 5127 /** 5128 * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. 5129 * 5130 * @syscap SystemCapability.ArkUI.ArkUI.Full 5131 * @form 5132 * @since 9 5133 */ 5134 /** 5135 * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. 5136 * 5137 * @syscap SystemCapability.ArkUI.ArkUI.Full 5138 * @crossplatform 5139 * @form 5140 * @since 10 5141 */ 5142 /** 5143 * The elements of the Flex container are arranged in reverse multiple rows/columns, and children are allowed to exceed the container. 5144 * 5145 * @syscap SystemCapability.ArkUI.ArkUI.Full 5146 * @crossplatform 5147 * @form 5148 * @atomicservice 5149 * @since 11 5150 */ 5151 WrapReverse, 5152} 5153 5154/** 5155 * VerticalAlign enumeration description 5156 * 5157 * @enum { number } 5158 * @syscap SystemCapability.ArkUI.ArkUI.Full 5159 * @since 7 5160 */ 5161/** 5162 * VerticalAlign enumeration description 5163 * 5164 * @enum { number } 5165 * @syscap SystemCapability.ArkUI.ArkUI.Full 5166 * @form 5167 * @since 9 5168 */ 5169/** 5170 * VerticalAlign enumeration description 5171 * 5172 * @enum { number } 5173 * @syscap SystemCapability.ArkUI.ArkUI.Full 5174 * @crossplatform 5175 * @form 5176 * @since 10 5177 */ 5178/** 5179 * VerticalAlign enumeration description 5180 * 5181 * @enum { number } 5182 * @syscap SystemCapability.ArkUI.ArkUI.Full 5183 * @crossplatform 5184 * @form 5185 * @atomicservice 5186 * @since 11 5187 */ 5188declare enum VerticalAlign { 5189 /** 5190 * Top alignment. 5191 * 5192 * @syscap SystemCapability.ArkUI.ArkUI.Full 5193 * @since 7 5194 */ 5195 /** 5196 * Top alignment. 5197 * 5198 * @syscap SystemCapability.ArkUI.ArkUI.Full 5199 * @form 5200 * @since 9 5201 */ 5202 /** 5203 * Top alignment. 5204 * 5205 * @syscap SystemCapability.ArkUI.ArkUI.Full 5206 * @crossplatform 5207 * @form 5208 * @since 10 5209 */ 5210 /** 5211 * Top alignment. 5212 * 5213 * @syscap SystemCapability.ArkUI.ArkUI.Full 5214 * @crossplatform 5215 * @form 5216 * @atomicservice 5217 * @since 11 5218 */ 5219 Top, 5220 5221 /** 5222 * Center alignment. The default alignment mode is used. 5223 * 5224 * @syscap SystemCapability.ArkUI.ArkUI.Full 5225 * @since 7 5226 */ 5227 /** 5228 * Center alignment. The default alignment mode is used. 5229 * 5230 * @syscap SystemCapability.ArkUI.ArkUI.Full 5231 * @form 5232 * @since 9 5233 */ 5234 /** 5235 * Center alignment. The default alignment mode is used. 5236 * 5237 * @syscap SystemCapability.ArkUI.ArkUI.Full 5238 * @crossplatform 5239 * @form 5240 * @since 10 5241 */ 5242 /** 5243 * Center alignment. The default alignment mode is used. 5244 * 5245 * @syscap SystemCapability.ArkUI.ArkUI.Full 5246 * @crossplatform 5247 * @form 5248 * @atomicservice 5249 * @since 11 5250 */ 5251 Center, 5252 5253 /** 5254 * Bottom alignment. 5255 * 5256 * @syscap SystemCapability.ArkUI.ArkUI.Full 5257 * @since 7 5258 */ 5259 /** 5260 * Bottom alignment. 5261 * 5262 * @syscap SystemCapability.ArkUI.ArkUI.Full 5263 * @form 5264 * @since 9 5265 */ 5266 /** 5267 * Bottom alignment. 5268 * 5269 * @syscap SystemCapability.ArkUI.ArkUI.Full 5270 * @crossplatform 5271 * @form 5272 * @since 10 5273 */ 5274 /** 5275 * Bottom alignment. 5276 * 5277 * @syscap SystemCapability.ArkUI.ArkUI.Full 5278 * @crossplatform 5279 * @form 5280 * @atomicservice 5281 * @since 11 5282 */ 5283 Bottom, 5284} 5285 5286/** 5287 * ImageRepeat enumeration description 5288 * 5289 * @enum { number } 5290 * @syscap SystemCapability.ArkUI.ArkUI.Full 5291 * @since 7 5292 */ 5293/** 5294 * ImageRepeat enumeration description 5295 * 5296 * @enum { number } 5297 * @syscap SystemCapability.ArkUI.ArkUI.Full 5298 * @form 5299 * @since 9 5300 */ 5301/** 5302 * ImageRepeat enumeration description 5303 * 5304 * @enum { number } 5305 * @syscap SystemCapability.ArkUI.ArkUI.Full 5306 * @crossplatform 5307 * @form 5308 * @since 10 5309 */ 5310/** 5311 * ImageRepeat enumeration description 5312 * 5313 * @enum { number } 5314 * @syscap SystemCapability.ArkUI.ArkUI.Full 5315 * @crossplatform 5316 * @form 5317 * @atomicservice 5318 * @since 11 5319 */ 5320declare enum ImageRepeat { 5321 /** 5322 * Do not draw the picture again. 5323 * 5324 * @syscap SystemCapability.ArkUI.ArkUI.Full 5325 * @since 7 5326 */ 5327 /** 5328 * Do not draw the picture again. 5329 * 5330 * @syscap SystemCapability.ArkUI.ArkUI.Full 5331 * @form 5332 * @since 9 5333 */ 5334 /** 5335 * Do not draw the picture again. 5336 * 5337 * @syscap SystemCapability.ArkUI.ArkUI.Full 5338 * @crossplatform 5339 * @form 5340 * @since 10 5341 */ 5342 /** 5343 * Do not draw the picture again. 5344 * 5345 * @syscap SystemCapability.ArkUI.ArkUI.Full 5346 * @crossplatform 5347 * @form 5348 * @atomicservice 5349 * @since 11 5350 */ 5351 NoRepeat, 5352 5353 /** 5354 * Repeat the drawing only on the horizontal axis. 5355 * 5356 * @syscap SystemCapability.ArkUI.ArkUI.Full 5357 * @since 7 5358 */ 5359 /** 5360 * Repeat the drawing only on the horizontal axis. 5361 * 5362 * @syscap SystemCapability.ArkUI.ArkUI.Full 5363 * @form 5364 * @since 9 5365 */ 5366 /** 5367 * Repeat the drawing only on the horizontal axis. 5368 * 5369 * @syscap SystemCapability.ArkUI.ArkUI.Full 5370 * @crossplatform 5371 * @form 5372 * @since 10 5373 */ 5374 /** 5375 * Repeat the drawing only on the horizontal axis. 5376 * 5377 * @syscap SystemCapability.ArkUI.ArkUI.Full 5378 * @crossplatform 5379 * @form 5380 * @atomicservice 5381 * @since 11 5382 */ 5383 X, 5384 5385 /** 5386 * Repeat the drawing only on the vertical axis. 5387 * 5388 * @syscap SystemCapability.ArkUI.ArkUI.Full 5389 * @since 7 5390 */ 5391 /** 5392 * Repeat the drawing only on the vertical axis. 5393 * 5394 * @syscap SystemCapability.ArkUI.ArkUI.Full 5395 * @form 5396 * @since 9 5397 */ 5398 /** 5399 * Repeat the drawing only on the vertical axis. 5400 * 5401 * @syscap SystemCapability.ArkUI.ArkUI.Full 5402 * @crossplatform 5403 * @form 5404 * @since 10 5405 */ 5406 /** 5407 * Repeat the drawing only on the vertical axis. 5408 * 5409 * @syscap SystemCapability.ArkUI.ArkUI.Full 5410 * @crossplatform 5411 * @form 5412 * @atomicservice 5413 * @since 11 5414 */ 5415 Y, 5416 5417 /** 5418 * Draw the picture repeatedly on both axes. 5419 * 5420 * @syscap SystemCapability.ArkUI.ArkUI.Full 5421 * @since 7 5422 */ 5423 /** 5424 * Draw the picture repeatedly on both axes. 5425 * 5426 * @syscap SystemCapability.ArkUI.ArkUI.Full 5427 * @form 5428 * @since 9 5429 */ 5430 /** 5431 * Draw the picture repeatedly on both axes. 5432 * 5433 * @syscap SystemCapability.ArkUI.ArkUI.Full 5434 * @crossplatform 5435 * @form 5436 * @since 10 5437 */ 5438 /** 5439 * Draw the picture repeatedly on both axes. 5440 * 5441 * @syscap SystemCapability.ArkUI.ArkUI.Full 5442 * @crossplatform 5443 * @form 5444 * @atomicservice 5445 * @since 11 5446 */ 5447 XY, 5448} 5449 5450/** 5451 * ImageSize enumeration description 5452 * 5453 * @enum { number } 5454 * @syscap SystemCapability.ArkUI.ArkUI.Full 5455 * @since 7 5456 */ 5457/** 5458 * ImageSize enumeration description 5459 * 5460 * @enum { number } 5461 * @syscap SystemCapability.ArkUI.ArkUI.Full 5462 * @form 5463 * @since 9 5464 */ 5465/** 5466 * ImageSize enumeration description 5467 * 5468 * @enum { number } 5469 * @syscap SystemCapability.ArkUI.ArkUI.Full 5470 * @crossplatform 5471 * @form 5472 * @since 10 5473 */ 5474/** 5475 * ImageSize enumeration description 5476 * 5477 * @enum { number } 5478 * @syscap SystemCapability.ArkUI.ArkUI.Full 5479 * @crossplatform 5480 * @form 5481 * @atomicservice 5482 * @since 11 5483 */ 5484declare enum ImageSize { 5485 /** 5486 * Keep the scale of the original image unchanged. 5487 * 5488 * @syscap SystemCapability.ArkUI.ArkUI.Full 5489 * @since 7 5490 */ 5491 /** 5492 * Keep the scale of the original image unchanged. 5493 * 5494 * @syscap SystemCapability.ArkUI.ArkUI.Full 5495 * @form 5496 * @since 9 5497 */ 5498 /** 5499 * Keep the scale of the original image unchanged. 5500 * 5501 * @syscap SystemCapability.ArkUI.ArkUI.Full 5502 * @crossplatform 5503 * @form 5504 * @since 10 5505 */ 5506 /** 5507 * Keep the scale of the original image unchanged. 5508 * 5509 * @syscap SystemCapability.ArkUI.ArkUI.Full 5510 * @crossplatform 5511 * @form 5512 * @atomicservice 5513 * @since 11 5514 */ 5515 Auto, 5516 5517 /** 5518 * 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. 5519 * 5520 * @syscap SystemCapability.ArkUI.ArkUI.Full 5521 * @since 7 5522 */ 5523 /** 5524 * 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. 5525 * 5526 * @syscap SystemCapability.ArkUI.ArkUI.Full 5527 * @form 5528 * @since 9 5529 */ 5530 /** 5531 * 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. 5532 * 5533 * @syscap SystemCapability.ArkUI.ArkUI.Full 5534 * @crossplatform 5535 * @form 5536 * @since 10 5537 */ 5538 /** 5539 * 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. 5540 * 5541 * @syscap SystemCapability.ArkUI.ArkUI.Full 5542 * @crossplatform 5543 * @form 5544 * @atomicservice 5545 * @since 11 5546 */ 5547 Cover, 5548 5549 /** 5550 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 5551 * 5552 * @syscap SystemCapability.ArkUI.ArkUI.Full 5553 * @since 7 5554 */ 5555 /** 5556 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 5557 * 5558 * @syscap SystemCapability.ArkUI.ArkUI.Full 5559 * @form 5560 * @since 9 5561 */ 5562 /** 5563 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 5564 * 5565 * @syscap SystemCapability.ArkUI.ArkUI.Full 5566 * @crossplatform 5567 * @form 5568 * @since 10 5569 */ 5570 /** 5571 * Keep the aspect ratio to zoom out or zoom in so that the image is completely displayed within the display boundary. 5572 * 5573 * @syscap SystemCapability.ArkUI.ArkUI.Full 5574 * @crossplatform 5575 * @form 5576 * @atomicservice 5577 * @since 11 5578 */ 5579 Contain, 5580 5581 /** 5582 * Zoom in or out without maintaining the aspect ratio so that the image fills the display boundary. 5583 * 5584 * @syscap SystemCapability.ArkUI.ArkUI.Full 5585 * @crossplatform 5586 * @atomicservice 5587 * @since 12 5588 */ 5589 FILL = 3, 5590} 5591 5592/** 5593 * GradientDirection enumeration description 5594 * 5595 * @enum { number } 5596 * @syscap SystemCapability.ArkUI.ArkUI.Full 5597 * @since 7 5598 */ 5599/** 5600 * GradientDirection enumeration description 5601 * 5602 * @enum { number } 5603 * @syscap SystemCapability.ArkUI.ArkUI.Full 5604 * @form 5605 * @since 9 5606 */ 5607/** 5608 * GradientDirection enumeration description 5609 * 5610 * @enum { number } 5611 * @syscap SystemCapability.ArkUI.ArkUI.Full 5612 * @crossplatform 5613 * @form 5614 * @since 10 5615 */ 5616/** 5617 * GradientDirection enumeration description 5618 * 5619 * @enum { number } 5620 * @syscap SystemCapability.ArkUI.ArkUI.Full 5621 * @crossplatform 5622 * @form 5623 * @atomicservice 5624 * @since 11 5625 */ 5626declare enum GradientDirection { 5627 /** 5628 * Right to left. 5629 * 5630 * @syscap SystemCapability.ArkUI.ArkUI.Full 5631 * @since 7 5632 */ 5633 /** 5634 * Right to left. 5635 * 5636 * @syscap SystemCapability.ArkUI.ArkUI.Full 5637 * @form 5638 * @since 9 5639 */ 5640 /** 5641 * Right to left. 5642 * 5643 * @syscap SystemCapability.ArkUI.ArkUI.Full 5644 * @crossplatform 5645 * @form 5646 * @since 10 5647 */ 5648 /** 5649 * Right to left. 5650 * 5651 * @syscap SystemCapability.ArkUI.ArkUI.Full 5652 * @crossplatform 5653 * @form 5654 * @atomicservice 5655 * @since 11 5656 */ 5657 Left, 5658 5659 /** 5660 * From the bottom up. 5661 * 5662 * @syscap SystemCapability.ArkUI.ArkUI.Full 5663 * @since 7 5664 */ 5665 /** 5666 * From the bottom up. 5667 * 5668 * @syscap SystemCapability.ArkUI.ArkUI.Full 5669 * @form 5670 * @since 9 5671 */ 5672 /** 5673 * From the bottom up. 5674 * 5675 * @syscap SystemCapability.ArkUI.ArkUI.Full 5676 * @crossplatform 5677 * @form 5678 * @since 10 5679 */ 5680 /** 5681 * From the bottom up. 5682 * 5683 * @syscap SystemCapability.ArkUI.ArkUI.Full 5684 * @crossplatform 5685 * @form 5686 * @atomicservice 5687 * @since 11 5688 */ 5689 Top, 5690 5691 /** 5692 * From left to right. 5693 * 5694 * @syscap SystemCapability.ArkUI.ArkUI.Full 5695 * @since 7 5696 */ 5697 /** 5698 * From left to right. 5699 * 5700 * @syscap SystemCapability.ArkUI.ArkUI.Full 5701 * @form 5702 * @since 9 5703 */ 5704 /** 5705 * From left to right. 5706 * 5707 * @syscap SystemCapability.ArkUI.ArkUI.Full 5708 * @crossplatform 5709 * @form 5710 * @since 10 5711 */ 5712 /** 5713 * From left to right. 5714 * 5715 * @syscap SystemCapability.ArkUI.ArkUI.Full 5716 * @crossplatform 5717 * @form 5718 * @atomicservice 5719 * @since 11 5720 */ 5721 Right, 5722 5723 /** 5724 * From the top down. 5725 * 5726 * @syscap SystemCapability.ArkUI.ArkUI.Full 5727 * @since 7 5728 */ 5729 /** 5730 * From the top down. 5731 * 5732 * @syscap SystemCapability.ArkUI.ArkUI.Full 5733 * @form 5734 * @since 9 5735 */ 5736 /** 5737 * From the top down. 5738 * 5739 * @syscap SystemCapability.ArkUI.ArkUI.Full 5740 * @crossplatform 5741 * @form 5742 * @since 10 5743 */ 5744 /** 5745 * From the top down. 5746 * 5747 * @syscap SystemCapability.ArkUI.ArkUI.Full 5748 * @crossplatform 5749 * @form 5750 * @atomicservice 5751 * @since 11 5752 */ 5753 Bottom, 5754 5755 /** 5756 * Top Left 5757 * 5758 * @syscap SystemCapability.ArkUI.ArkUI.Full 5759 * @since 7 5760 */ 5761 /** 5762 * Top Left 5763 * 5764 * @syscap SystemCapability.ArkUI.ArkUI.Full 5765 * @form 5766 * @since 9 5767 */ 5768 /** 5769 * Top Left 5770 * 5771 * @syscap SystemCapability.ArkUI.ArkUI.Full 5772 * @crossplatform 5773 * @form 5774 * @since 10 5775 */ 5776 /** 5777 * Top Left 5778 * 5779 * @syscap SystemCapability.ArkUI.ArkUI.Full 5780 * @crossplatform 5781 * @form 5782 * @atomicservice 5783 * @since 11 5784 */ 5785 LeftTop, 5786 5787 /** 5788 * Left Bottom 5789 * 5790 * @syscap SystemCapability.ArkUI.ArkUI.Full 5791 * @since 7 5792 */ 5793 /** 5794 * Left Bottom 5795 * 5796 * @syscap SystemCapability.ArkUI.ArkUI.Full 5797 * @form 5798 * @since 9 5799 */ 5800 /** 5801 * Left Bottom 5802 * 5803 * @syscap SystemCapability.ArkUI.ArkUI.Full 5804 * @crossplatform 5805 * @form 5806 * @since 10 5807 */ 5808 /** 5809 * Left Bottom 5810 * 5811 * @syscap SystemCapability.ArkUI.ArkUI.Full 5812 * @crossplatform 5813 * @form 5814 * @atomicservice 5815 * @since 11 5816 */ 5817 LeftBottom, 5818 5819 /** 5820 * Right Top 5821 * 5822 * @syscap SystemCapability.ArkUI.ArkUI.Full 5823 * @since 7 5824 */ 5825 /** 5826 * Right Top 5827 * 5828 * @syscap SystemCapability.ArkUI.ArkUI.Full 5829 * @form 5830 * @since 9 5831 */ 5832 /** 5833 * Right Top 5834 * 5835 * @syscap SystemCapability.ArkUI.ArkUI.Full 5836 * @crossplatform 5837 * @form 5838 * @since 10 5839 */ 5840 /** 5841 * Right Top 5842 * 5843 * @syscap SystemCapability.ArkUI.ArkUI.Full 5844 * @crossplatform 5845 * @form 5846 * @atomicservice 5847 * @since 11 5848 */ 5849 RightTop, 5850 5851 /** 5852 * Right Bottom 5853 * 5854 * @syscap SystemCapability.ArkUI.ArkUI.Full 5855 * @since 7 5856 */ 5857 /** 5858 * Right Bottom 5859 * 5860 * @syscap SystemCapability.ArkUI.ArkUI.Full 5861 * @form 5862 * @since 9 5863 */ 5864 /** 5865 * Right Bottom 5866 * 5867 * @syscap SystemCapability.ArkUI.ArkUI.Full 5868 * @crossplatform 5869 * @form 5870 * @since 10 5871 */ 5872 /** 5873 * Right Bottom 5874 * 5875 * @syscap SystemCapability.ArkUI.ArkUI.Full 5876 * @crossplatform 5877 * @form 5878 * @atomicservice 5879 * @since 11 5880 */ 5881 RightBottom, 5882 5883 /** 5884 * None 5885 * 5886 * @syscap SystemCapability.ArkUI.ArkUI.Full 5887 * @since 7 5888 */ 5889 /** 5890 * None 5891 * 5892 * @syscap SystemCapability.ArkUI.ArkUI.Full 5893 * @form 5894 * @since 9 5895 */ 5896 /** 5897 * None 5898 * 5899 * @syscap SystemCapability.ArkUI.ArkUI.Full 5900 * @crossplatform 5901 * @form 5902 * @since 10 5903 */ 5904 /** 5905 * None 5906 * 5907 * @syscap SystemCapability.ArkUI.ArkUI.Full 5908 * @crossplatform 5909 * @form 5910 * @atomicservice 5911 * @since 11 5912 */ 5913 None, 5914} 5915 5916/** 5917 * SharedTransitionEffectType enumeration description 5918 * 5919 * @enum { number } 5920 * @syscap SystemCapability.ArkUI.ArkUI.Full 5921 * @since 7 5922 */ 5923/** 5924 * SharedTransitionEffectType enumeration description 5925 * 5926 * @enum { number } 5927 * @syscap SystemCapability.ArkUI.ArkUI.Full 5928 * @crossplatform 5929 * @since 10 5930 */ 5931/** 5932 * SharedTransitionEffectType enumeration description 5933 * 5934 * @enum { number } 5935 * @syscap SystemCapability.ArkUI.ArkUI.Full 5936 * @crossplatform 5937 * @atomicservice 5938 * @since 11 5939 */ 5940declare enum SharedTransitionEffectType { 5941 /** 5942 * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, 5943 * only the static effect configured for redirecting to the target page takes effect. 5944 * 5945 * @syscap SystemCapability.ArkUI.ArkUI.Full 5946 * @since 7 5947 */ 5948 /** 5949 * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, 5950 * only the static effect configured for redirecting to the target page takes effect. 5951 * 5952 * @syscap SystemCapability.ArkUI.ArkUI.Full 5953 * @crossplatform 5954 * @since 10 5955 */ 5956 /** 5957 * The location of the destination page element remains unchanged, and you can configure the transparency animation. Currently, 5958 * only the static effect configured for redirecting to the target page takes effect. 5959 * 5960 * @syscap SystemCapability.ArkUI.ArkUI.Full 5961 * @crossplatform 5962 * @atomicservice 5963 * @since 11 5964 */ 5965 Static, 5966 5967 /** 5968 * Move the source page element to the destination page element location and scale it appropriately. 5969 * 5970 * @syscap SystemCapability.ArkUI.ArkUI.Full 5971 * @since 7 5972 */ 5973 /** 5974 * Move the source page element to the destination page element location and scale it appropriately. 5975 * 5976 * @syscap SystemCapability.ArkUI.ArkUI.Full 5977 * @crossplatform 5978 * @since 10 5979 */ 5980 /** 5981 * Move the source page element to the destination page element location and scale it appropriately. 5982 * 5983 * @syscap SystemCapability.ArkUI.ArkUI.Full 5984 * @crossplatform 5985 * @atomicservice 5986 * @since 11 5987 */ 5988 Exchange, 5989} 5990 5991/** 5992 * Text style 5993 * 5994 * @enum { number } 5995 * @syscap SystemCapability.ArkUI.ArkUI.Full 5996 * @since 7 5997 */ 5998/** 5999 * Text style 6000 * 6001 * @enum { number } 6002 * @syscap SystemCapability.ArkUI.ArkUI.Full 6003 * @form 6004 * @since 9 6005 */ 6006/** 6007 * Text style 6008 * 6009 * @enum { number } 6010 * @syscap SystemCapability.ArkUI.ArkUI.Full 6011 * @crossplatform 6012 * @form 6013 * @since 10 6014 */ 6015/** 6016 * Text style 6017 * 6018 * @enum { number } 6019 * @syscap SystemCapability.ArkUI.ArkUI.Full 6020 * @crossplatform 6021 * @form 6022 * @atomicservice 6023 * @since 11 6024 */ 6025declare enum FontStyle { 6026 /** 6027 * Default style. 6028 * 6029 * @syscap SystemCapability.ArkUI.ArkUI.Full 6030 * @since 7 6031 */ 6032 /** 6033 * Default style. 6034 * 6035 * @syscap SystemCapability.ArkUI.ArkUI.Full 6036 * @form 6037 * @since 9 6038 */ 6039 /** 6040 * Default style. 6041 * 6042 * @syscap SystemCapability.ArkUI.ArkUI.Full 6043 * @crossplatform 6044 * @form 6045 * @since 10 6046 */ 6047 /** 6048 * Default style. 6049 * 6050 * @syscap SystemCapability.ArkUI.ArkUI.Full 6051 * @crossplatform 6052 * @form 6053 * @atomicservice 6054 * @since 11 6055 */ 6056 Normal, 6057 6058 /** 6059 * Italic style. 6060 * 6061 * @syscap SystemCapability.ArkUI.ArkUI.Full 6062 * @since 7 6063 */ 6064 /** 6065 * Italic style. 6066 * 6067 * @syscap SystemCapability.ArkUI.ArkUI.Full 6068 * @form 6069 * @since 9 6070 */ 6071 /** 6072 * Italic style. 6073 * 6074 * @syscap SystemCapability.ArkUI.ArkUI.Full 6075 * @crossplatform 6076 * @form 6077 * @since 10 6078 */ 6079 /** 6080 * Italic style. 6081 * 6082 * @syscap SystemCapability.ArkUI.ArkUI.Full 6083 * @crossplatform 6084 * @form 6085 * @atomicservice 6086 * @since 11 6087 */ 6088 Italic, 6089} 6090 6091/** 6092 * The font weight of the text 6093 * 6094 * @enum { number } 6095 * @syscap SystemCapability.ArkUI.ArkUI.Full 6096 * @since 7 6097 */ 6098/** 6099 * The font weight of the text 6100 * 6101 * @enum { number } 6102 * @syscap SystemCapability.ArkUI.ArkUI.Full 6103 * @form 6104 * @since 9 6105 */ 6106/** 6107 * The font weight of the text 6108 * 6109 * @enum { number } 6110 * @syscap SystemCapability.ArkUI.ArkUI.Full 6111 * @crossplatform 6112 * @form 6113 * @since 10 6114 */ 6115/** 6116 * The font weight of the text 6117 * 6118 * @enum { number } 6119 * @syscap SystemCapability.ArkUI.ArkUI.Full 6120 * @crossplatform 6121 * @form 6122 * @atomicservice 6123 * @since 11 6124 */ 6125declare enum FontWeight { 6126 /** 6127 * Defines a lighter value than [Inherited Value].. 6128 * 6129 * @syscap SystemCapability.ArkUI.ArkUI.Full 6130 * @since 7 6131 */ 6132 /** 6133 * Defines a lighter value than [Inherited Value].. 6134 * 6135 * @syscap SystemCapability.ArkUI.ArkUI.Full 6136 * @form 6137 * @since 9 6138 */ 6139 /** 6140 * Defines a lighter value than [Inherited Value].. 6141 * 6142 * @syscap SystemCapability.ArkUI.ArkUI.Full 6143 * @crossplatform 6144 * @form 6145 * @since 10 6146 */ 6147 /** 6148 * Defines a lighter value than [Inherited Value].. 6149 * 6150 * @syscap SystemCapability.ArkUI.ArkUI.Full 6151 * @crossplatform 6152 * @form 6153 * @atomicservice 6154 * @since 11 6155 */ 6156 Lighter, 6157 6158 /** 6159 * Normal font. Equivalent to a digital value of 400. 6160 * 6161 * @syscap SystemCapability.ArkUI.ArkUI.Full 6162 * @since 7 6163 */ 6164 /** 6165 * Normal font. Equivalent to a digital value of 400. 6166 * 6167 * @syscap SystemCapability.ArkUI.ArkUI.Full 6168 * @form 6169 * @since 9 6170 */ 6171 /** 6172 * Normal font. Equivalent to a digital value of 400. 6173 * 6174 * @syscap SystemCapability.ArkUI.ArkUI.Full 6175 * @crossplatform 6176 * @form 6177 * @since 10 6178 */ 6179 /** 6180 * Normal font. Equivalent to a digital value of 400. 6181 * 6182 * @syscap SystemCapability.ArkUI.ArkUI.Full 6183 * @crossplatform 6184 * @form 6185 * @atomicservice 6186 * @since 11 6187 */ 6188 Normal, 6189 6190 /** 6191 * Defines a more general value than [Inherited Value]. 6192 * 6193 * @syscap SystemCapability.ArkUI.ArkUI.Full 6194 * @since 7 6195 */ 6196 /** 6197 * Defines a more general value than [Inherited Value]. 6198 * 6199 * @syscap SystemCapability.ArkUI.ArkUI.Full 6200 * @form 6201 * @since 9 6202 */ 6203 /** 6204 * Defines a more general value than [Inherited Value]. 6205 * 6206 * @syscap SystemCapability.ArkUI.ArkUI.Full 6207 * @crossplatform 6208 * @form 6209 * @since 10 6210 */ 6211 /** 6212 * Defines a more general value than [Inherited Value]. 6213 * 6214 * @syscap SystemCapability.ArkUI.ArkUI.Full 6215 * @crossplatform 6216 * @form 6217 * @atomicservice 6218 * @since 11 6219 */ 6220 Regular, 6221 6222 /** 6223 * Defines a value that is more centered than [Inherited Value]. 6224 * 6225 * @syscap SystemCapability.ArkUI.ArkUI.Full 6226 * @since 7 6227 */ 6228 /** 6229 * Defines a value that is more centered than [Inherited Value]. 6230 * 6231 * @syscap SystemCapability.ArkUI.ArkUI.Full 6232 * @form 6233 * @since 9 6234 */ 6235 /** 6236 * Defines a value that is more centered than [Inherited Value]. 6237 * 6238 * @syscap SystemCapability.ArkUI.ArkUI.Full 6239 * @crossplatform 6240 * @form 6241 * @since 10 6242 */ 6243 /** 6244 * Defines a value that is more centered than [Inherited Value]. 6245 * 6246 * @syscap SystemCapability.ArkUI.ArkUI.Full 6247 * @crossplatform 6248 * @form 6249 * @atomicservice 6250 * @since 11 6251 */ 6252 Medium, 6253 6254 /** 6255 * Bold. Equivalent to a numeric value of 700. 6256 * 6257 * @syscap SystemCapability.ArkUI.ArkUI.Full 6258 * @since 7 6259 */ 6260 /** 6261 * Bold. Equivalent to a numeric value of 700. 6262 * 6263 * @syscap SystemCapability.ArkUI.ArkUI.Full 6264 * @form 6265 * @since 9 6266 */ 6267 /** 6268 * Bold. Equivalent to a numeric value of 700. 6269 * 6270 * @syscap SystemCapability.ArkUI.ArkUI.Full 6271 * @crossplatform 6272 * @form 6273 * @since 10 6274 */ 6275 /** 6276 * Bold. Equivalent to a numeric value of 700. 6277 * 6278 * @syscap SystemCapability.ArkUI.ArkUI.Full 6279 * @crossplatform 6280 * @form 6281 * @atomicservice 6282 * @since 11 6283 */ 6284 Bold, 6285 6286 /** 6287 * Defines a value that is heavier than [Inherited Value]. 6288 * 6289 * @syscap SystemCapability.ArkUI.ArkUI.Full 6290 * @since 7 6291 */ 6292 /** 6293 * Defines a value that is heavier than [Inherited Value]. 6294 * 6295 * @syscap SystemCapability.ArkUI.ArkUI.Full 6296 * @form 6297 * @since 9 6298 */ 6299 /** 6300 * Defines a value that is heavier than [Inherited Value]. 6301 * 6302 * @syscap SystemCapability.ArkUI.ArkUI.Full 6303 * @crossplatform 6304 * @form 6305 * @since 10 6306 */ 6307 /** 6308 * Defines a value that is heavier than [Inherited Value]. 6309 * 6310 * @syscap SystemCapability.ArkUI.ArkUI.Full 6311 * @crossplatform 6312 * @form 6313 * @atomicservice 6314 * @since 11 6315 */ 6316 Bolder, 6317} 6318 6319/** 6320 * Alignment of text. 6321 * 6322 * @enum { number } 6323 * @syscap SystemCapability.ArkUI.ArkUI.Full 6324 * @since 7 6325 */ 6326/** 6327 * Alignment of text. 6328 * 6329 * @enum { number } 6330 * @syscap SystemCapability.ArkUI.ArkUI.Full 6331 * @form 6332 * @since 9 6333 */ 6334/** 6335 * Alignment of text. 6336 * 6337 * @enum { number } 6338 * @syscap SystemCapability.ArkUI.ArkUI.Full 6339 * @crossplatform 6340 * @form 6341 * @since 10 6342 */ 6343/** 6344 * Alignment of text. 6345 * 6346 * @enum { number } 6347 * @syscap SystemCapability.ArkUI.ArkUI.Full 6348 * @crossplatform 6349 * @form 6350 * @atomicservice 6351 * @since 11 6352 */ 6353declare enum TextAlign { 6354 /** 6355 * Center the text. 6356 * 6357 * @syscap SystemCapability.ArkUI.ArkUI.Full 6358 * @since 7 6359 */ 6360 /** 6361 * Center the text. 6362 * 6363 * @syscap SystemCapability.ArkUI.ArkUI.Full 6364 * @form 6365 * @since 9 6366 */ 6367 /** 6368 * Center the text. 6369 * 6370 * @syscap SystemCapability.ArkUI.ArkUI.Full 6371 * @crossplatform 6372 * @form 6373 * @since 10 6374 */ 6375 /** 6376 * Center the text. 6377 * 6378 * @syscap SystemCapability.ArkUI.ArkUI.Full 6379 * @crossplatform 6380 * @form 6381 * @atomicservice 6382 * @since 11 6383 */ 6384 Center, 6385 6386 /** 6387 * The text is aligned in the same direction as the writing 6388 * 6389 * @syscap SystemCapability.ArkUI.ArkUI.Full 6390 * @since 7 6391 */ 6392 /** 6393 * The text is aligned in the same direction as the writing 6394 * 6395 * @syscap SystemCapability.ArkUI.ArkUI.Full 6396 * @form 6397 * @since 9 6398 */ 6399 /** 6400 * The text is aligned in the same direction as the writing 6401 * 6402 * @syscap SystemCapability.ArkUI.ArkUI.Full 6403 * @crossplatform 6404 * @form 6405 * @since 10 6406 */ 6407 /** 6408 * The text is aligned in the same direction as the writing 6409 * 6410 * @syscap SystemCapability.ArkUI.ArkUI.Full 6411 * @crossplatform 6412 * @form 6413 * @atomicservice 6414 * @since 11 6415 */ 6416 Start, 6417 6418 /** 6419 * The text is aligned in the opposite direction of writing 6420 * 6421 * @syscap SystemCapability.ArkUI.ArkUI.Full 6422 * @since 7 6423 */ 6424 /** 6425 * The text is aligned in the opposite direction of writing 6426 * 6427 * @syscap SystemCapability.ArkUI.ArkUI.Full 6428 * @form 6429 * @since 9 6430 */ 6431 /** 6432 * The text is aligned in the opposite direction of writing 6433 * 6434 * @syscap SystemCapability.ArkUI.ArkUI.Full 6435 * @crossplatform 6436 * @form 6437 * @since 10 6438 */ 6439 /** 6440 * The text is aligned in the opposite direction of writing 6441 * 6442 * @syscap SystemCapability.ArkUI.ArkUI.Full 6443 * @crossplatform 6444 * @form 6445 * @atomicservice 6446 * @since 11 6447 */ 6448 End, 6449 6450 /** 6451 * Justify the text. 6452 * 6453 * @syscap SystemCapability.ArkUI.ArkUI.Full 6454 * @crossplatform 6455 * @form 6456 * @since 10 6457 */ 6458 /** 6459 * Justify the text. 6460 * 6461 * @syscap SystemCapability.ArkUI.ArkUI.Full 6462 * @crossplatform 6463 * @form 6464 * @atomicservice 6465 * @since 11 6466 */ 6467 JUSTIFY, 6468} 6469 6470/** 6471 * Declare how text overflows. 6472 * 6473 * @enum { number } 6474 * @syscap SystemCapability.ArkUI.ArkUI.Full 6475 * @since 7 6476 */ 6477/** 6478 * Declare how text overflows. 6479 * 6480 * @enum { number } 6481 * @syscap SystemCapability.ArkUI.ArkUI.Full 6482 * @form 6483 * @since 9 6484 */ 6485/** 6486 * Declare how text overflows. 6487 * 6488 * @enum { number } 6489 * @syscap SystemCapability.ArkUI.ArkUI.Full 6490 * @crossplatform 6491 * @form 6492 * @since 10 6493 */ 6494/** 6495 * Declare how text overflows. 6496 * 6497 * @enum { number } 6498 * @syscap SystemCapability.ArkUI.ArkUI.Full 6499 * @crossplatform 6500 * @form 6501 * @atomicservice 6502 * @since 11 6503 */ 6504declare enum TextOverflow { 6505 /** 6506 * When the text overflows its dimensions, the text will not be cropped. 6507 * 6508 * @syscap SystemCapability.ArkUI.ArkUI.Full 6509 * @since 7 6510 */ 6511 /** 6512 * When the text overflows its dimensions, the text will not be cropped. 6513 * 6514 * @syscap SystemCapability.ArkUI.ArkUI.Full 6515 * @form 6516 * @since 9 6517 */ 6518 /** 6519 * When the text overflows its dimensions, the text will not be cropped. 6520 * 6521 * @syscap SystemCapability.ArkUI.ArkUI.Full 6522 * @crossplatform 6523 * @form 6524 * @since 10 6525 */ 6526 /** 6527 * When the text overflows its dimensions, the text will not be cropped. 6528 * 6529 * @syscap SystemCapability.ArkUI.ArkUI.Full 6530 * @crossplatform 6531 * @form 6532 * @atomicservice 6533 * @since 11 6534 */ 6535 None, 6536 6537 /** 6538 * When the text overflows its dimensions, the text will be cropped and displayed. 6539 * 6540 * @syscap SystemCapability.ArkUI.ArkUI.Full 6541 * @since 7 6542 */ 6543 /** 6544 * When the text overflows its dimensions, the text will be cropped and displayed. 6545 * 6546 * @syscap SystemCapability.ArkUI.ArkUI.Full 6547 * @form 6548 * @since 9 6549 */ 6550 /** 6551 * When the text overflows its dimensions, the text will be cropped and displayed. 6552 * 6553 * @syscap SystemCapability.ArkUI.ArkUI.Full 6554 * @crossplatform 6555 * @form 6556 * @since 10 6557 */ 6558 /** 6559 * When the text overflows its dimensions, the text will be cropped and displayed. 6560 * 6561 * @syscap SystemCapability.ArkUI.ArkUI.Full 6562 * @crossplatform 6563 * @form 6564 * @atomicservice 6565 * @since 11 6566 */ 6567 Clip, 6568 6569 /** 6570 * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. 6571 * 6572 * @syscap SystemCapability.ArkUI.ArkUI.Full 6573 * @since 7 6574 */ 6575 /** 6576 * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. 6577 * 6578 * @syscap SystemCapability.ArkUI.ArkUI.Full 6579 * @form 6580 * @since 9 6581 */ 6582 /** 6583 * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. 6584 * 6585 * @syscap SystemCapability.ArkUI.ArkUI.Full 6586 * @crossplatform 6587 * @form 6588 * @since 10 6589 */ 6590 /** 6591 * If the text overflows its dimensions, the text that cannot be displayed shall be replaced by ellipsis. 6592 * 6593 * @syscap SystemCapability.ArkUI.ArkUI.Full 6594 * @crossplatform 6595 * @form 6596 * @atomicservice 6597 * @since 11 6598 */ 6599 Ellipsis, 6600 6601 /** 6602 * When the text overflows its dimensions, the text will scroll for displaying. 6603 * 6604 * @syscap SystemCapability.ArkUI.ArkUI.Full 6605 * @crossplatform 6606 * @since 10 6607 */ 6608 /** 6609 * When the text overflows its dimensions, the text will scroll for displaying. 6610 * 6611 * @syscap SystemCapability.ArkUI.ArkUI.Full 6612 * @crossplatform 6613 * @atomicservice 6614 * @since 11 6615 */ 6616 MARQUEE, 6617} 6618 6619/** 6620 * Type of text modifier. 6621 * 6622 * @enum { number } 6623 * @syscap SystemCapability.ArkUI.ArkUI.Full 6624 * @since 7 6625 */ 6626/** 6627 * Type of text modifier. 6628 * 6629 * @enum { number } 6630 * @syscap SystemCapability.ArkUI.ArkUI.Full 6631 * @form 6632 * @since 9 6633 */ 6634/** 6635 * Type of text modifier. 6636 * 6637 * @enum { number } 6638 * @syscap SystemCapability.ArkUI.ArkUI.Full 6639 * @crossplatform 6640 * @form 6641 * @since 10 6642 */ 6643/** 6644 * Type of text modifier. 6645 * 6646 * @enum { number } 6647 * @syscap SystemCapability.ArkUI.ArkUI.Full 6648 * @crossplatform 6649 * @form 6650 * @atomicservice 6651 * @since 11 6652 */ 6653declare enum TextDecorationType { 6654 /** 6655 * Do not use text decorative lines. 6656 * 6657 * @syscap SystemCapability.ArkUI.ArkUI.Full 6658 * @since 7 6659 */ 6660 /** 6661 * Do not use text decorative lines. 6662 * 6663 * @syscap SystemCapability.ArkUI.ArkUI.Full 6664 * @form 6665 * @since 9 6666 */ 6667 /** 6668 * Do not use text decorative lines. 6669 * 6670 * @syscap SystemCapability.ArkUI.ArkUI.Full 6671 * @crossplatform 6672 * @form 6673 * @since 10 6674 */ 6675 /** 6676 * Do not use text decorative lines. 6677 * 6678 * @syscap SystemCapability.ArkUI.ArkUI.Full 6679 * @crossplatform 6680 * @form 6681 * @atomicservice 6682 * @since 11 6683 */ 6684 None, 6685 6686 /** 6687 * Underline the words. 6688 * 6689 * @syscap SystemCapability.ArkUI.ArkUI.Full 6690 * @since 7 6691 */ 6692 /** 6693 * Underline the words. 6694 * 6695 * @syscap SystemCapability.ArkUI.ArkUI.Full 6696 * @form 6697 * @since 9 6698 */ 6699 /** 6700 * Underline the words. 6701 * 6702 * @syscap SystemCapability.ArkUI.ArkUI.Full 6703 * @crossplatform 6704 * @form 6705 * @since 10 6706 */ 6707 /** 6708 * Underline the words. 6709 * 6710 * @syscap SystemCapability.ArkUI.ArkUI.Full 6711 * @crossplatform 6712 * @form 6713 * @atomicservice 6714 * @since 11 6715 */ 6716 Underline, 6717 6718 /** 6719 * Text is in all uppercase. 6720 * 6721 * @syscap SystemCapability.ArkUI.ArkUI.Full 6722 * @since 7 6723 */ 6724 /** 6725 * Text is in all uppercase. 6726 * 6727 * @syscap SystemCapability.ArkUI.ArkUI.Full 6728 * @form 6729 * @since 9 6730 */ 6731 /** 6732 * Text is in all uppercase. 6733 * 6734 * @syscap SystemCapability.ArkUI.ArkUI.Full 6735 * @crossplatform 6736 * @form 6737 * @since 10 6738 */ 6739 /** 6740 * Text is in all uppercase. 6741 * 6742 * @syscap SystemCapability.ArkUI.ArkUI.Full 6743 * @crossplatform 6744 * @form 6745 * @atomicservice 6746 * @since 11 6747 */ 6748 Overline, 6749 6750 /** 6751 * A modifier line that passes through the text. 6752 * 6753 * @syscap SystemCapability.ArkUI.ArkUI.Full 6754 * @since 7 6755 */ 6756 /** 6757 * A modifier line that passes through the text. 6758 * 6759 * @syscap SystemCapability.ArkUI.ArkUI.Full 6760 * @form 6761 * @since 9 6762 */ 6763 /** 6764 * A modifier line that passes through the text. 6765 * 6766 * @syscap SystemCapability.ArkUI.ArkUI.Full 6767 * @crossplatform 6768 * @form 6769 * @since 10 6770 */ 6771 /** 6772 * A modifier line that passes through the text. 6773 * 6774 * @syscap SystemCapability.ArkUI.ArkUI.Full 6775 * @crossplatform 6776 * @form 6777 * @atomicservice 6778 * @since 11 6779 */ 6780 LineThrough, 6781} 6782 6783/** 6784 * Letter type in text 6785 * 6786 * @enum { number } 6787 * @syscap SystemCapability.ArkUI.ArkUI.Full 6788 * @since 7 6789 */ 6790/** 6791 * Letter type in text 6792 * 6793 * @enum { number } 6794 * @syscap SystemCapability.ArkUI.ArkUI.Full 6795 * @form 6796 * @since 9 6797 */ 6798/** 6799 * Letter type in text 6800 * 6801 * @enum { number } 6802 * @syscap SystemCapability.ArkUI.ArkUI.Full 6803 * @crossplatform 6804 * @form 6805 * @since 10 6806 */ 6807/** 6808 * Letter type in text 6809 * 6810 * @enum { number } 6811 * @syscap SystemCapability.ArkUI.ArkUI.Full 6812 * @crossplatform 6813 * @form 6814 * @atomicservice 6815 * @since 11 6816 */ 6817declare enum TextCase { 6818 /** 6819 * The default is normal. 6820 * 6821 * @syscap SystemCapability.ArkUI.ArkUI.Full 6822 * @since 7 6823 */ 6824 /** 6825 * The default is normal. 6826 * 6827 * @syscap SystemCapability.ArkUI.ArkUI.Full 6828 * @form 6829 * @since 9 6830 */ 6831 /** 6832 * The default is normal. 6833 * 6834 * @syscap SystemCapability.ArkUI.ArkUI.Full 6835 * @crossplatform 6836 * @form 6837 * @since 10 6838 */ 6839 /** 6840 * The default is normal. 6841 * 6842 * @syscap SystemCapability.ArkUI.ArkUI.Full 6843 * @crossplatform 6844 * @form 6845 * @atomicservice 6846 * @since 11 6847 */ 6848 Normal, 6849 6850 /** 6851 * The text is all lowercase. 6852 * 6853 * @syscap SystemCapability.ArkUI.ArkUI.Full 6854 * @since 7 6855 */ 6856 /** 6857 * The text is all lowercase. 6858 * 6859 * @syscap SystemCapability.ArkUI.ArkUI.Full 6860 * @form 6861 * @since 9 6862 */ 6863 /** 6864 * The text is all lowercase. 6865 * 6866 * @syscap SystemCapability.ArkUI.ArkUI.Full 6867 * @crossplatform 6868 * @form 6869 * @since 10 6870 */ 6871 /** 6872 * The text is all lowercase. 6873 * 6874 * @syscap SystemCapability.ArkUI.ArkUI.Full 6875 * @crossplatform 6876 * @form 6877 * @atomicservice 6878 * @since 11 6879 */ 6880 LowerCase, 6881 6882 /** 6883 * The text is all uppercase. 6884 * 6885 * @syscap SystemCapability.ArkUI.ArkUI.Full 6886 * @since 7 6887 */ 6888 /** 6889 * The text is all uppercase. 6890 * 6891 * @syscap SystemCapability.ArkUI.ArkUI.Full 6892 * @form 6893 * @since 9 6894 */ 6895 /** 6896 * The text is all uppercase. 6897 * 6898 * @syscap SystemCapability.ArkUI.ArkUI.Full 6899 * @crossplatform 6900 * @form 6901 * @since 10 6902 */ 6903 /** 6904 * The text is all uppercase. 6905 * 6906 * @syscap SystemCapability.ArkUI.ArkUI.Full 6907 * @crossplatform 6908 * @form 6909 * @atomicservice 6910 * @since 11 6911 */ 6912 UpperCase, 6913} 6914 6915/** 6916 * Enum of text height adaptation 6917 * 6918 * @enum { number } 6919 * @syscap SystemCapability.ArkUI.ArkUI.Full 6920 * @crossplatform 6921 * @since 10 6922 */ 6923/** 6924 * Enum of text height adaptation 6925 * 6926 * @enum { number } 6927 * @syscap SystemCapability.ArkUI.ArkUI.Full 6928 * @crossplatform 6929 * @atomicservice 6930 * @since 11 6931 */ 6932declare enum TextHeightAdaptivePolicy { 6933 /** 6934 * Priority is given to using the maxLines attribute to adapt the text height. 6935 * If the layout size using the maxLines attribute exceeds the layout constraint, try reducing the font size to 6936 * display more text. 6937 * 6938 * @syscap SystemCapability.ArkUI.ArkUI.Full 6939 * @crossplatform 6940 * @since 10 6941 */ 6942 /** 6943 * Priority is given to using the maxLines attribute to adapt the text height. 6944 * If the layout size using the maxLines attribute exceeds the layout constraint, try reducing the font size to 6945 * display more text. 6946 * 6947 * @syscap SystemCapability.ArkUI.ArkUI.Full 6948 * @crossplatform 6949 * @atomicservice 6950 * @since 11 6951 */ 6952 MAX_LINES_FIRST, 6953 6954 /** 6955 * Priority is given to using the minFontSize attribute to adapt the text height. 6956 * If the text can be layout in a single line using the minFontSize property, try increasing the font size and using 6957 * the maximum possible font size. 6958 * 6959 * @syscap SystemCapability.ArkUI.ArkUI.Full 6960 * @crossplatform 6961 * @since 10 6962 */ 6963 /** 6964 * Priority is given to using the minFontSize attribute to adapt the text height. 6965 * If the text can be layout in a single line using the minFontSize property, try increasing the font size and using 6966 * the maximum possible font size. 6967 * 6968 * @syscap SystemCapability.ArkUI.ArkUI.Full 6969 * @crossplatform 6970 * @atomicservice 6971 * @since 11 6972 */ 6973 MIN_FONT_SIZE_FIRST, 6974 6975 /** 6976 * Priority is given to using the layout constraint to adapt the text height. 6977 * If the layout size exceeds the layout constraint, try reducing the font size. If the layout size still exceeds 6978 * the layout constraint after reducing the font size to minFontSize, remove the lines that exceed the layout 6979 * constraint. 6980 * 6981 * @syscap SystemCapability.ArkUI.ArkUI.Full 6982 * @crossplatform 6983 * @since 10 6984 */ 6985 /** 6986 * Priority is given to using the layout constraint to adapt the text height. 6987 * If the layout size exceeds the layout constraint, try reducing the font size. If the layout size still exceeds 6988 * the layout constraint after reducing the font size to minFontSize, remove the lines that exceed the layout 6989 * constraint. 6990 * 6991 * @syscap SystemCapability.ArkUI.ArkUI.Full 6992 * @crossplatform 6993 * @atomicservice 6994 * @since 11 6995 */ 6996 LAYOUT_CONSTRAINT_FIRST, 6997} 6998 6999/** 7000 * ResponseType for contextMenu 7001 * 7002 * @enum { number } 7003 * @syscap SystemCapability.ArkUI.ArkUI.Full 7004 * @since 8 7005 */ 7006/** 7007 * ResponseType for contextMenu 7008 * 7009 * @enum { number } 7010 * @syscap SystemCapability.ArkUI.ArkUI.Full 7011 * @crossplatform 7012 * @since 10 7013 */ 7014/** 7015 * ResponseType for contextMenu 7016 * 7017 * @enum { number } 7018 * @syscap SystemCapability.ArkUI.ArkUI.Full 7019 * @crossplatform 7020 * @atomicservice 7021 * @since 11 7022 */ 7023declare enum ResponseType { 7024 /** 7025 * Right click. 7026 * 7027 * @syscap SystemCapability.ArkUI.ArkUI.Full 7028 * @since 8 7029 */ 7030 /** 7031 * Right click. 7032 * 7033 * @syscap SystemCapability.ArkUI.ArkUI.Full 7034 * @crossplatform 7035 * @since 10 7036 */ 7037 /** 7038 * Right click. 7039 * 7040 * @syscap SystemCapability.ArkUI.ArkUI.Full 7041 * @crossplatform 7042 * @atomicservice 7043 * @since 11 7044 */ 7045 RightClick, 7046 7047 /** 7048 * Long press. 7049 * 7050 * @syscap SystemCapability.ArkUI.ArkUI.Full 7051 * @since 8 7052 */ 7053 /** 7054 * Long press. 7055 * 7056 * @syscap SystemCapability.ArkUI.ArkUI.Full 7057 * @crossplatform 7058 * @since 10 7059 */ 7060 /** 7061 * Long press. 7062 * 7063 * @syscap SystemCapability.ArkUI.ArkUI.Full 7064 * @crossplatform 7065 * @atomicservice 7066 * @since 11 7067 */ 7068 LongPress, 7069} 7070 7071/** 7072 * HoverEffect enumeration description 7073 * 7074 * @enum { number } 7075 * @syscap SystemCapability.ArkUI.ArkUI.Full 7076 * @since 8 7077 */ 7078/** 7079 * HoverEffect enumeration description 7080 * 7081 * @enum { number } 7082 * @syscap SystemCapability.ArkUI.ArkUI.Full 7083 * @crossplatform 7084 * @since 10 7085 */ 7086/** 7087 * HoverEffect enumeration description 7088 * 7089 * @enum { number } 7090 * @syscap SystemCapability.ArkUI.ArkUI.Full 7091 * @crossplatform 7092 * @atomicservice 7093 * @since 11 7094 */ 7095declare enum HoverEffect { 7096 /** 7097 * Default effect 7098 * 7099 * @syscap SystemCapability.ArkUI.ArkUI.Full 7100 * @since 8 7101 */ 7102 /** 7103 * Default effect 7104 * 7105 * @syscap SystemCapability.ArkUI.ArkUI.Full 7106 * @crossplatform 7107 * @since 10 7108 */ 7109 /** 7110 * Default effect 7111 * 7112 * @syscap SystemCapability.ArkUI.ArkUI.Full 7113 * @crossplatform 7114 * @atomicservice 7115 * @since 11 7116 */ 7117 Auto, 7118 7119 /** 7120 * Zoom in and out effect 7121 * 7122 * @syscap SystemCapability.ArkUI.ArkUI.Full 7123 * @since 8 7124 */ 7125 /** 7126 * Zoom in and out effect 7127 * 7128 * @syscap SystemCapability.ArkUI.ArkUI.Full 7129 * @crossplatform 7130 * @since 10 7131 */ 7132 /** 7133 * Zoom in and out effect 7134 * 7135 * @syscap SystemCapability.ArkUI.ArkUI.Full 7136 * @crossplatform 7137 * @atomicservice 7138 * @since 11 7139 */ 7140 Scale, 7141 7142 /** 7143 * Highlight effect 7144 * 7145 * @syscap SystemCapability.ArkUI.ArkUI.Full 7146 * @since 8 7147 */ 7148 /** 7149 * Highlight effect 7150 * 7151 * @syscap SystemCapability.ArkUI.ArkUI.Full 7152 * @crossplatform 7153 * @since 10 7154 */ 7155 /** 7156 * Highlight effect 7157 * 7158 * @syscap SystemCapability.ArkUI.ArkUI.Full 7159 * @crossplatform 7160 * @atomicservice 7161 * @since 11 7162 */ 7163 Highlight, 7164 7165 /** 7166 * None effect 7167 * 7168 * @syscap SystemCapability.ArkUI.ArkUI.Full 7169 * @since 8 7170 */ 7171 /** 7172 * None effect 7173 * 7174 * @syscap SystemCapability.ArkUI.ArkUI.Full 7175 * @crossplatform 7176 * @since 10 7177 */ 7178 /** 7179 * None effect 7180 * 7181 * @syscap SystemCapability.ArkUI.ArkUI.Full 7182 * @crossplatform 7183 * @atomicservice 7184 * @since 11 7185 */ 7186 None, 7187} 7188 7189/** 7190 * Placement enumeration description 7191 * 7192 * @enum { number } 7193 * @syscap SystemCapability.ArkUI.ArkUI.Full 7194 * @since 8 7195 */ 7196/** 7197 * Placement enumeration description 7198 * 7199 * @enum { number } 7200 * @syscap SystemCapability.ArkUI.ArkUI.Full 7201 * @crossplatform 7202 * @since 10 7203 */ 7204/** 7205 * Placement enumeration description 7206 * 7207 * @enum { number } 7208 * @syscap SystemCapability.ArkUI.ArkUI.Full 7209 * @crossplatform 7210 * @atomicservice 7211 * @since 11 7212 */ 7213declare enum Placement { 7214 /** 7215 * Left placement 7216 * 7217 * @syscap SystemCapability.ArkUI.ArkUI.Full 7218 * @since 8 7219 */ 7220 /** 7221 * Left placement 7222 * 7223 * @syscap SystemCapability.ArkUI.ArkUI.Full 7224 * @crossplatform 7225 * @since 10 7226 */ 7227 /** 7228 * Left placement 7229 * 7230 * @syscap SystemCapability.ArkUI.ArkUI.Full 7231 * @crossplatform 7232 * @atomicservice 7233 * @since 11 7234 */ 7235 Left, 7236 7237 /** 7238 * Right placement 7239 * 7240 * @syscap SystemCapability.ArkUI.ArkUI.Full 7241 * @since 8 7242 */ 7243 /** 7244 * Right placement 7245 * 7246 * @syscap SystemCapability.ArkUI.ArkUI.Full 7247 * @crossplatform 7248 * @since 10 7249 */ 7250 /** 7251 * Right placement 7252 * 7253 * @syscap SystemCapability.ArkUI.ArkUI.Full 7254 * @crossplatform 7255 * @atomicservice 7256 * @since 11 7257 */ 7258 Right, 7259 7260 /** 7261 * Top placement 7262 * 7263 * @syscap SystemCapability.ArkUI.ArkUI.Full 7264 * @since 8 7265 */ 7266 /** 7267 * Top placement 7268 * 7269 * @syscap SystemCapability.ArkUI.ArkUI.Full 7270 * @crossplatform 7271 * @since 10 7272 */ 7273 /** 7274 * Top placement 7275 * 7276 * @syscap SystemCapability.ArkUI.ArkUI.Full 7277 * @crossplatform 7278 * @atomicservice 7279 * @since 11 7280 */ 7281 Top, 7282 7283 /** 7284 * Bottom placement 7285 * 7286 * @syscap SystemCapability.ArkUI.ArkUI.Full 7287 * @since 8 7288 */ 7289 /** 7290 * Bottom placement 7291 * 7292 * @syscap SystemCapability.ArkUI.ArkUI.Full 7293 * @crossplatform 7294 * @since 10 7295 */ 7296 /** 7297 * Bottom placement 7298 * 7299 * @syscap SystemCapability.ArkUI.ArkUI.Full 7300 * @crossplatform 7301 * @atomicservice 7302 * @since 11 7303 */ 7304 Bottom, 7305 7306 /** 7307 * TopLeft placement 7308 * 7309 * @syscap SystemCapability.ArkUI.ArkUI.Full 7310 * @since 8 7311 */ 7312 /** 7313 * TopLeft placement 7314 * 7315 * @syscap SystemCapability.ArkUI.ArkUI.Full 7316 * @crossplatform 7317 * @since 10 7318 */ 7319 /** 7320 * TopLeft placement 7321 * 7322 * @syscap SystemCapability.ArkUI.ArkUI.Full 7323 * @crossplatform 7324 * @atomicservice 7325 * @since 11 7326 */ 7327 TopLeft, 7328 7329 /** 7330 * TopRight placement 7331 * 7332 * @syscap SystemCapability.ArkUI.ArkUI.Full 7333 * @since 8 7334 */ 7335 /** 7336 * TopRight placement 7337 * 7338 * @syscap SystemCapability.ArkUI.ArkUI.Full 7339 * @crossplatform 7340 * @since 10 7341 */ 7342 /** 7343 * TopRight placement 7344 * 7345 * @syscap SystemCapability.ArkUI.ArkUI.Full 7346 * @crossplatform 7347 * @atomicservice 7348 * @since 11 7349 */ 7350 TopRight, 7351 7352 /** 7353 * BottomLeft placement 7354 * 7355 * @syscap SystemCapability.ArkUI.ArkUI.Full 7356 * @since 8 7357 */ 7358 /** 7359 * BottomLeft placement 7360 * 7361 * @syscap SystemCapability.ArkUI.ArkUI.Full 7362 * @crossplatform 7363 * @since 10 7364 */ 7365 /** 7366 * BottomLeft placement 7367 * 7368 * @syscap SystemCapability.ArkUI.ArkUI.Full 7369 * @crossplatform 7370 * @atomicservice 7371 * @since 11 7372 */ 7373 BottomLeft, 7374 7375 /** 7376 * BottomRight placement 7377 * 7378 * @syscap SystemCapability.ArkUI.ArkUI.Full 7379 * @since 8 7380 */ 7381 /** 7382 * BottomRight placement 7383 * 7384 * @syscap SystemCapability.ArkUI.ArkUI.Full 7385 * @crossplatform 7386 * @since 10 7387 */ 7388 /** 7389 * BottomRight placement 7390 * 7391 * @syscap SystemCapability.ArkUI.ArkUI.Full 7392 * @crossplatform 7393 * @atomicservice 7394 * @since 11 7395 */ 7396 BottomRight, 7397 7398 /** 7399 * LeftTop placement 7400 * 7401 * @syscap SystemCapability.ArkUI.ArkUI.Full 7402 * @since 9 7403 */ 7404 /** 7405 * LeftTop placement 7406 * 7407 * @syscap SystemCapability.ArkUI.ArkUI.Full 7408 * @crossplatform 7409 * @since 10 7410 */ 7411 /** 7412 * LeftTop placement 7413 * 7414 * @syscap SystemCapability.ArkUI.ArkUI.Full 7415 * @crossplatform 7416 * @atomicservice 7417 * @since 11 7418 */ 7419 LeftTop, 7420 7421 /** 7422 * LeftBottom placement 7423 * 7424 * @syscap SystemCapability.ArkUI.ArkUI.Full 7425 * @since 9 7426 */ 7427 /** 7428 * LeftBottom placement 7429 * 7430 * @syscap SystemCapability.ArkUI.ArkUI.Full 7431 * @crossplatform 7432 * @since 10 7433 */ 7434 /** 7435 * LeftBottom placement 7436 * 7437 * @syscap SystemCapability.ArkUI.ArkUI.Full 7438 * @crossplatform 7439 * @atomicservice 7440 * @since 11 7441 */ 7442 LeftBottom, 7443 7444 /** 7445 * RightTop placement 7446 * 7447 * @syscap SystemCapability.ArkUI.ArkUI.Full 7448 * @since 9 7449 */ 7450 /** 7451 * RightTop placement 7452 * 7453 * @syscap SystemCapability.ArkUI.ArkUI.Full 7454 * @crossplatform 7455 * @since 10 7456 */ 7457 /** 7458 * RightTop placement 7459 * 7460 * @syscap SystemCapability.ArkUI.ArkUI.Full 7461 * @crossplatform 7462 * @atomicservice 7463 * @since 11 7464 */ 7465 RightTop, 7466 7467 /** 7468 * RightBottom placement 7469 * 7470 * @syscap SystemCapability.ArkUI.ArkUI.Full 7471 * @since 9 7472 */ 7473 /** 7474 * RightBottom placement 7475 * 7476 * @syscap SystemCapability.ArkUI.ArkUI.Full 7477 * @crossplatform 7478 * @since 10 7479 */ 7480 /** 7481 * RightBottom placement 7482 * 7483 * @syscap SystemCapability.ArkUI.ArkUI.Full 7484 * @crossplatform 7485 * @atomicservice 7486 * @since 11 7487 */ 7488 RightBottom, 7489} 7490 7491/** 7492 * ArrowPointPosition enumeration description 7493 * 7494 * @enum { string } 7495 * @syscap SystemCapability.ArkUI.ArkUI.Full 7496 * @crossplatform 7497 * @since 11 7498 */ 7499/** 7500 * ArrowPointPosition enumeration description 7501 * 7502 * @enum { string } 7503 * @syscap SystemCapability.ArkUI.ArkUI.Full 7504 * @crossplatform 7505 * @atomicservice 7506 * @since 12 7507 */ 7508declare enum ArrowPointPosition { 7509 /** 7510 * Target start position 7511 * 7512 * @syscap SystemCapability.ArkUI.ArkUI.Full 7513 * @crossplatform 7514 * @since 11 7515 */ 7516 /** 7517 * Target start position 7518 * 7519 * @syscap SystemCapability.ArkUI.ArkUI.Full 7520 * @crossplatform 7521 * @atomicservice 7522 * @since 12 7523 */ 7524 START = 'Start', 7525 7526 /** 7527 * Target center position 7528 * 7529 * @syscap SystemCapability.ArkUI.ArkUI.Full 7530 * @crossplatform 7531 * @since 11 7532 */ 7533 /** 7534 * Target center position 7535 * 7536 * @syscap SystemCapability.ArkUI.ArkUI.Full 7537 * @crossplatform 7538 * @atomicservice 7539 * @since 12 7540 */ 7541 CENTER = 'Center', 7542 7543 /** 7544 * Target end position 7545 * 7546 * @syscap SystemCapability.ArkUI.ArkUI.Full 7547 * @crossplatform 7548 * @since 11 7549 */ 7550 /** 7551 * Target end position 7552 * 7553 * @syscap SystemCapability.ArkUI.ArkUI.Full 7554 * @crossplatform 7555 * @atomicservice 7556 * @since 12 7557 */ 7558 END = 'End', 7559} 7560 7561/** 7562 * Indicates the share option. 7563 * 7564 * @enum { number } 7565 * @syscap SystemCapability.ArkUI.ArkUI.Full 7566 * @form 7567 * @since 9 7568 */ 7569/** 7570 * Indicates the share option. 7571 * 7572 * @enum { number } 7573 * @syscap SystemCapability.ArkUI.ArkUI.Full 7574 * @crossplatform 7575 * @form 7576 * @since 10 7577 */ 7578/** 7579 * Indicates the share option. 7580 * 7581 * @enum { number } 7582 * @syscap SystemCapability.ArkUI.ArkUI.Full 7583 * @crossplatform 7584 * @form 7585 * @atomicservice 7586 * @since 11 7587 */ 7588declare enum CopyOptions { 7589 /** 7590 * Not allow share. 7591 * 7592 * @syscap SystemCapability.ArkUI.ArkUI.Full 7593 * @form 7594 * @since 9 7595 */ 7596 /** 7597 * Not allow share. 7598 * 7599 * @syscap SystemCapability.ArkUI.ArkUI.Full 7600 * @crossplatform 7601 * @form 7602 * @since 10 7603 */ 7604 /** 7605 * Not allow share. 7606 * 7607 * @syscap SystemCapability.ArkUI.ArkUI.Full 7608 * @crossplatform 7609 * @form 7610 * @atomicservice 7611 * @since 11 7612 */ 7613 None = 0, 7614 7615 /** 7616 * Share in app. 7617 * 7618 * @syscap SystemCapability.ArkUI.ArkUI.Full 7619 * @form 7620 * @since 9 7621 */ 7622 /** 7623 * Share in app. 7624 * 7625 * @syscap SystemCapability.ArkUI.ArkUI.Full 7626 * @crossplatform 7627 * @form 7628 * @since 10 7629 */ 7630 /** 7631 * Share in app. 7632 * 7633 * @syscap SystemCapability.ArkUI.ArkUI.Full 7634 * @crossplatform 7635 * @form 7636 * @atomicservice 7637 * @since 11 7638 */ 7639 InApp = 1, 7640 7641 /** 7642 * Share in local device. 7643 * 7644 * @syscap SystemCapability.ArkUI.ArkUI.Full 7645 * @form 7646 * @since 9 7647 */ 7648 /** 7649 * Share in local device. 7650 * 7651 * @syscap SystemCapability.ArkUI.ArkUI.Full 7652 * @crossplatform 7653 * @form 7654 * @since 10 7655 */ 7656 /** 7657 * Share in local device. 7658 * 7659 * @syscap SystemCapability.ArkUI.ArkUI.Full 7660 * @crossplatform 7661 * @form 7662 * @atomicservice 7663 * @since 11 7664 */ 7665 LocalDevice = 2, 7666 7667 /** 7668 * Share in cross Device 7669 * 7670 * @syscap SystemCapability.ArkUI.ArkUI.Full 7671 * @crossplatform 7672 * @form 7673 * @since 11 7674 * @deprecated since 12 7675 */ 7676 CROSS_DEVICE = 3, 7677} 7678 7679/** 7680 * Defines the hit test mode. 7681 * 7682 * @enum { number } 7683 * @syscap SystemCapability.ArkUI.ArkUI.Full 7684 * @since 9 7685 */ 7686/** 7687 * Defines the hit test mode. 7688 * 7689 * @enum { number } 7690 * @syscap SystemCapability.ArkUI.ArkUI.Full 7691 * @crossplatform 7692 * @since 10 7693 */ 7694/** 7695 * Defines the hit test mode. 7696 * 7697 * @enum { number } 7698 * @syscap SystemCapability.ArkUI.ArkUI.Full 7699 * @crossplatform 7700 * @atomicservice 7701 * @since 11 7702 */ 7703declare enum HitTestMode { 7704 /** 7705 * Both self and children nodes respond to the hit test for touch events, 7706 * but block hit test of the other nodes which is masked by this node. 7707 * 7708 * @syscap SystemCapability.ArkUI.ArkUI.Full 7709 * @since 9 7710 */ 7711 /** 7712 * Both self and children nodes respond to the hit test for touch events, 7713 * but block hit test of the other nodes which is masked by this node. 7714 * 7715 * @syscap SystemCapability.ArkUI.ArkUI.Full 7716 * @crossplatform 7717 * @since 10 7718 */ 7719 /** 7720 * Both self and children nodes respond to the hit test for touch events, 7721 * but block hit test of the other nodes which is masked by this node. 7722 * 7723 * @syscap SystemCapability.ArkUI.ArkUI.Full 7724 * @crossplatform 7725 * @atomicservice 7726 * @since 11 7727 */ 7728 Default, 7729 7730 /** 7731 * Self respond to the hit test for touch events, 7732 * but block hit test of children and other nodes which is masked by this node. 7733 * 7734 * @syscap SystemCapability.ArkUI.ArkUI.Full 7735 * @since 9 7736 */ 7737 /** 7738 * Self respond to the hit test for touch events, 7739 * but block hit test of children and other nodes which is masked by this node. 7740 * 7741 * @syscap SystemCapability.ArkUI.ArkUI.Full 7742 * @crossplatform 7743 * @since 10 7744 */ 7745 /** 7746 * Self respond to the hit test for touch events, 7747 * but block hit test of children and other nodes which is masked by this node. 7748 * 7749 * @syscap SystemCapability.ArkUI.ArkUI.Full 7750 * @crossplatform 7751 * @atomicservice 7752 * @since 11 7753 */ 7754 Block, 7755 7756 /** 7757 * Self and children respond to the hit test for touch events, 7758 * and allow hit test of other nodes which is masked by this node. 7759 * 7760 * @syscap SystemCapability.ArkUI.ArkUI.Full 7761 * @since 9 7762 */ 7763 /** 7764 * Self and children respond to the hit test for touch events, 7765 * and allow hit test of other nodes which is masked by this node. 7766 * 7767 * @syscap SystemCapability.ArkUI.ArkUI.Full 7768 * @crossplatform 7769 * @since 10 7770 */ 7771 /** 7772 * Self and children respond to the hit test for touch events, 7773 * and allow hit test of other nodes which is masked by this node. 7774 * 7775 * @syscap SystemCapability.ArkUI.ArkUI.Full 7776 * @crossplatform 7777 * @atomicservice 7778 * @since 11 7779 */ 7780 Transparent, 7781 7782 /** 7783 * Self not respond to the hit test for touch events, 7784 * but children respond to the hit test for touch events. 7785 * 7786 * @syscap SystemCapability.ArkUI.ArkUI.Full 7787 * @since 9 7788 */ 7789 /** 7790 * Self not respond to the hit test for touch events, 7791 * but children respond to the hit test for touch events. 7792 * 7793 * @syscap SystemCapability.ArkUI.ArkUI.Full 7794 * @crossplatform 7795 * @since 10 7796 */ 7797 /** 7798 * Self not respond to the hit test for touch events, 7799 * but children respond to the hit test for touch events. 7800 * 7801 * @syscap SystemCapability.ArkUI.ArkUI.Full 7802 * @crossplatform 7803 * @atomicservice 7804 * @since 11 7805 */ 7806 None, 7807} 7808 7809/** 7810 * Title height. 7811 * 7812 * @enum { number } 7813 * @syscap SystemCapability.ArkUI.ArkUI.Full 7814 * @since 9 7815 */ 7816/** 7817 * Title height. 7818 * 7819 * @enum { number } 7820 * @syscap SystemCapability.ArkUI.ArkUI.Full 7821 * @crossplatform 7822 * @since 10 7823 */ 7824/** 7825 * Title height. 7826 * 7827 * @enum { number } 7828 * @syscap SystemCapability.ArkUI.ArkUI.Full 7829 * @crossplatform 7830 * @atomicservice 7831 * @since 11 7832 */ 7833declare enum TitleHeight { 7834 /** 7835 * Title height when only main title is available. 7836 * 7837 * @syscap SystemCapability.ArkUI.ArkUI.Full 7838 * @since 9 7839 */ 7840 /** 7841 * Title height when only main title is available. 7842 * 7843 * @syscap SystemCapability.ArkUI.ArkUI.Full 7844 * @crossplatform 7845 * @since 10 7846 */ 7847 /** 7848 * Title height when only main title is available. 7849 * 7850 * @syscap SystemCapability.ArkUI.ArkUI.Full 7851 * @crossplatform 7852 * @atomicservice 7853 * @since 11 7854 */ 7855 MainOnly, 7856 7857 /** 7858 * Title height when main title and subtitle are both available. 7859 * 7860 * @syscap SystemCapability.ArkUI.ArkUI.Full 7861 * @since 9 7862 */ 7863 /** 7864 * Title height when main title and subtitle are both available. 7865 * 7866 * @syscap SystemCapability.ArkUI.ArkUI.Full 7867 * @crossplatform 7868 * @since 10 7869 */ 7870 /** 7871 * Title height when main title and subtitle are both available. 7872 * 7873 * @syscap SystemCapability.ArkUI.ArkUI.Full 7874 * @crossplatform 7875 * @atomicservice 7876 * @since 11 7877 */ 7878 MainWithSub, 7879} 7880 7881/** 7882 * Modifier key for hot key. 7883 * 7884 * @enum { number } 7885 * @syscap SystemCapability.ArkUI.ArkUI.Full 7886 * @crossplatform 7887 * @since 10 7888 */ 7889/** 7890 * Modifier key for hot key. 7891 * 7892 * @enum { number } 7893 * @syscap SystemCapability.ArkUI.ArkUI.Full 7894 * @crossplatform 7895 * @atomicservice 7896 * @since 11 7897 */ 7898declare enum ModifierKey { 7899 /** 7900 * ctrl. 7901 * 7902 * @syscap SystemCapability.ArkUI.ArkUI.Full 7903 * @crossplatform 7904 * @since 10 7905 */ 7906 /** 7907 * ctrl. 7908 * 7909 * @syscap SystemCapability.ArkUI.ArkUI.Full 7910 * @crossplatform 7911 * @atomicservice 7912 * @since 11 7913 */ 7914 CTRL, 7915 7916 /** 7917 * shift. 7918 * 7919 * @syscap SystemCapability.ArkUI.ArkUI.Full 7920 * @crossplatform 7921 * @since 10 7922 */ 7923 /** 7924 * shift. 7925 * 7926 * @syscap SystemCapability.ArkUI.ArkUI.Full 7927 * @crossplatform 7928 * @atomicservice 7929 * @since 11 7930 */ 7931 SHIFT, 7932 7933 /** 7934 * alt. 7935 * 7936 * @syscap SystemCapability.ArkUI.ArkUI.Full 7937 * @crossplatform 7938 * @since 10 7939 */ 7940 /** 7941 * alt. 7942 * 7943 * @syscap SystemCapability.ArkUI.ArkUI.Full 7944 * @crossplatform 7945 * @atomicservice 7946 * @since 11 7947 */ 7948 ALT, 7949} 7950 7951/** 7952 * Function key for hot key. 7953 * 7954 * @enum { number } 7955 * @syscap SystemCapability.ArkUI.ArkUI.Full 7956 * @crossplatform 7957 * @since 10 7958 */ 7959/** 7960 * Function key for hot key. 7961 * 7962 * @enum { number } 7963 * @syscap SystemCapability.ArkUI.ArkUI.Full 7964 * @crossplatform 7965 * @atomicservice 7966 * @since 11 7967 */ 7968declare enum FunctionKey { 7969 /** 7970 * Escape key. 7971 * 7972 * @syscap SystemCapability.ArkUI.ArkUI.Full 7973 * @crossplatform 7974 * @since 10 7975 */ 7976 /** 7977 * Escape key. 7978 * 7979 * @syscap SystemCapability.ArkUI.ArkUI.Full 7980 * @crossplatform 7981 * @atomicservice 7982 * @since 11 7983 */ 7984 ESC, 7985 7986 /** 7987 * F1 key. 7988 * 7989 * @syscap SystemCapability.ArkUI.ArkUI.Full 7990 * @crossplatform 7991 * @since 10 7992 */ 7993 /** 7994 * F1 key. 7995 * 7996 * @syscap SystemCapability.ArkUI.ArkUI.Full 7997 * @crossplatform 7998 * @atomicservice 7999 * @since 11 8000 */ 8001 F1, 8002 8003 /** 8004 * F2 key. 8005 * 8006 * @syscap SystemCapability.ArkUI.ArkUI.Full 8007 * @crossplatform 8008 * @since 10 8009 */ 8010 /** 8011 * F2 key. 8012 * 8013 * @syscap SystemCapability.ArkUI.ArkUI.Full 8014 * @crossplatform 8015 * @atomicservice 8016 * @since 11 8017 */ 8018 F2, 8019 8020 /** 8021 * F3 key. 8022 * 8023 * @syscap SystemCapability.ArkUI.ArkUI.Full 8024 * @crossplatform 8025 * @since 10 8026 */ 8027 /** 8028 * F3 key. 8029 * 8030 * @syscap SystemCapability.ArkUI.ArkUI.Full 8031 * @crossplatform 8032 * @atomicservice 8033 * @since 11 8034 */ 8035 F3, 8036 8037 /** 8038 * F4 key. 8039 * 8040 * @syscap SystemCapability.ArkUI.ArkUI.Full 8041 * @crossplatform 8042 * @since 10 8043 */ 8044 /** 8045 * F4 key. 8046 * 8047 * @syscap SystemCapability.ArkUI.ArkUI.Full 8048 * @crossplatform 8049 * @atomicservice 8050 * @since 11 8051 */ 8052 F4, 8053 8054 /** 8055 * F5 key. 8056 * 8057 * @syscap SystemCapability.ArkUI.ArkUI.Full 8058 * @crossplatform 8059 * @since 10 8060 */ 8061 /** 8062 * F5 key. 8063 * 8064 * @syscap SystemCapability.ArkUI.ArkUI.Full 8065 * @crossplatform 8066 * @atomicservice 8067 * @since 11 8068 */ 8069 F5, 8070 8071 /** 8072 * F6 key. 8073 * 8074 * @syscap SystemCapability.ArkUI.ArkUI.Full 8075 * @crossplatform 8076 * @since 10 8077 */ 8078 /** 8079 * F6 key. 8080 * 8081 * @syscap SystemCapability.ArkUI.ArkUI.Full 8082 * @crossplatform 8083 * @atomicservice 8084 * @since 11 8085 */ 8086 F6, 8087 8088 /** 8089 * F7 key. 8090 * 8091 * @syscap SystemCapability.ArkUI.ArkUI.Full 8092 * @crossplatform 8093 * @since 10 8094 */ 8095 /** 8096 * F7 key. 8097 * 8098 * @syscap SystemCapability.ArkUI.ArkUI.Full 8099 * @crossplatform 8100 * @atomicservice 8101 * @since 11 8102 */ 8103 F7, 8104 8105 /** 8106 * F8 key. 8107 * 8108 * @syscap SystemCapability.ArkUI.ArkUI.Full 8109 * @crossplatform 8110 * @since 10 8111 */ 8112 /** 8113 * F8 key. 8114 * 8115 * @syscap SystemCapability.ArkUI.ArkUI.Full 8116 * @crossplatform 8117 * @atomicservice 8118 * @since 11 8119 */ 8120 F8, 8121 8122 /** 8123 * F9 key. 8124 * 8125 * @syscap SystemCapability.ArkUI.ArkUI.Full 8126 * @crossplatform 8127 * @since 10 8128 */ 8129 /** 8130 * F9 key. 8131 * 8132 * @syscap SystemCapability.ArkUI.ArkUI.Full 8133 * @crossplatform 8134 * @atomicservice 8135 * @since 11 8136 */ 8137 F9, 8138 8139 /** 8140 * F10 key. 8141 * 8142 * @syscap SystemCapability.ArkUI.ArkUI.Full 8143 * @crossplatform 8144 * @since 10 8145 */ 8146 /** 8147 * F10 key. 8148 * 8149 * @syscap SystemCapability.ArkUI.ArkUI.Full 8150 * @crossplatform 8151 * @atomicservice 8152 * @since 11 8153 */ 8154 F10, 8155 8156 /** 8157 * F11 key. 8158 * 8159 * @syscap SystemCapability.ArkUI.ArkUI.Full 8160 * @crossplatform 8161 * @since 10 8162 */ 8163 /** 8164 * F11 key. 8165 * 8166 * @syscap SystemCapability.ArkUI.ArkUI.Full 8167 * @crossplatform 8168 * @atomicservice 8169 * @since 11 8170 */ 8171 F11, 8172 8173 /** 8174 * F12 key. 8175 * 8176 * @syscap SystemCapability.ArkUI.ArkUI.Full 8177 * @crossplatform 8178 * @since 10 8179 */ 8180 /** 8181 * F12 key. 8182 * 8183 * @syscap SystemCapability.ArkUI.ArkUI.Full 8184 * @crossplatform 8185 * @atomicservice 8186 * @since 11 8187 */ 8188 F12, 8189 8190 /** 8191 * Tab key. 8192 * 8193 * @syscap SystemCapability.ArkUI.ArkUI.Full 8194 * @crossplatform 8195 * @atomicservice 8196 * @since 12 8197 */ 8198 TAB, 8199 8200 /** 8201 * Up arrow key. 8202 * 8203 * @syscap SystemCapability.ArkUI.ArkUI.Full 8204 * @crossplatform 8205 * @atomicservice 8206 * @since 12 8207 */ 8208 DPAD_UP, 8209 8210 /** 8211 * Down arrow key. 8212 * 8213 * @syscap SystemCapability.ArkUI.ArkUI.Full 8214 * @crossplatform 8215 * @atomicservice 8216 * @since 12 8217 */ 8218 DPAD_DOWN, 8219 8220 /** 8221 * Left arrow key. 8222 * 8223 * @syscap SystemCapability.ArkUI.ArkUI.Full 8224 * @crossplatform 8225 * @atomicservice 8226 * @since 12 8227 */ 8228 DPAD_LEFT, 8229 8230 /** 8231 * Right arrow key. 8232 * 8233 * @syscap SystemCapability.ArkUI.ArkUI.Full 8234 * @crossplatform 8235 * @atomicservice 8236 * @since 12 8237 */ 8238 DPAD_RIGHT, 8239} 8240 8241/** 8242 * The alignment of ImageSpan 8243 * 8244 * @enum { number } 8245 * @syscap SystemCapability.ArkUI.ArkUI.Full 8246 * @crossplatform 8247 * @since 10 8248 */ 8249/** 8250 * The alignment of ImageSpan 8251 * 8252 * @enum { number } 8253 * @syscap SystemCapability.ArkUI.ArkUI.Full 8254 * @crossplatform 8255 * @atomicservice 8256 * @since 11 8257 */ 8258declare enum ImageSpanAlignment { 8259 /** 8260 * Indicating that the bottom of the ImageSpan should be aligned with the baseline of the surrounding text. 8261 * 8262 * @syscap SystemCapability.ArkUI.ArkUI.Full 8263 * @crossplatform 8264 * @since 10 8265 */ 8266 /** 8267 * Indicating that the bottom of the ImageSpan should be aligned with the baseline of the surrounding text. 8268 * 8269 * @syscap SystemCapability.ArkUI.ArkUI.Full 8270 * @crossplatform 8271 * @atomicservice 8272 * @since 11 8273 */ 8274 BASELINE, 8275 8276 /** 8277 * Indicating that the bottom of the ImageSpan should be aligned with the bottom of the surrounding text. 8278 * 8279 * @syscap SystemCapability.ArkUI.ArkUI.Full 8280 * @crossplatform 8281 * @since 10 8282 */ 8283 /** 8284 * Indicating that the bottom of the ImageSpan should be aligned with the bottom of the surrounding text. 8285 * 8286 * @syscap SystemCapability.ArkUI.ArkUI.Full 8287 * @crossplatform 8288 * @atomicservice 8289 * @since 11 8290 */ 8291 BOTTOM, 8292 8293 /** 8294 * Indicating that the center of the ImageSpan should be aligned with the center of the surrounding text. 8295 * 8296 * @syscap SystemCapability.ArkUI.ArkUI.Full 8297 * @crossplatform 8298 * @since 10 8299 */ 8300 /** 8301 * Indicating that the center of the ImageSpan should be aligned with the center of the surrounding text. 8302 * 8303 * @syscap SystemCapability.ArkUI.ArkUI.Full 8304 * @crossplatform 8305 * @atomicservice 8306 * @since 11 8307 */ 8308 CENTER, 8309 8310 /** 8311 * Indicating that the top of the ImageSpan should be aligned with the top of the surrounding text. 8312 * 8313 * @syscap SystemCapability.ArkUI.ArkUI.Full 8314 * @crossplatform 8315 * @since 10 8316 */ 8317 /** 8318 * Indicating that the top of the ImageSpan should be aligned with the top of the surrounding text. 8319 * 8320 * @syscap SystemCapability.ArkUI.ArkUI.Full 8321 * @crossplatform 8322 * @atomicservice 8323 * @since 11 8324 */ 8325 TOP, 8326} 8327 8328/** 8329 * ObscuredReasons. 8330 * 8331 * @enum { number } 8332 * @syscap SystemCapability.ArkUI.ArkUI.Full 8333 * @since 10 8334 */ 8335/** 8336 * ObscuredReasons. 8337 * 8338 * @enum { number } 8339 * @syscap SystemCapability.ArkUI.ArkUI.Full 8340 * @crossplatform 8341 * @atomicservice 8342 * @since 11 8343 */ 8344declare enum ObscuredReasons { 8345 /** 8346 * Displayed data should appear as generic placeholders. 8347 * 8348 * @syscap SystemCapability.ArkUI.ArkUI.Full 8349 * @since 10 8350 */ 8351 /** 8352 * Displayed data should appear as generic placeholders. 8353 * 8354 * @syscap SystemCapability.ArkUI.ArkUI.Full 8355 * @crossplatform 8356 * @atomicservice 8357 * @since 11 8358 */ 8359 PLACEHOLDER = 0, 8360} 8361 8362/** 8363 * Text content style. 8364 * 8365 * @enum { number } 8366 * @syscap SystemCapability.ArkUI.ArkUI.Full 8367 * @since 10 8368 */ 8369/** 8370 * Text content style. 8371 * 8372 * @enum { number } 8373 * @syscap SystemCapability.ArkUI.ArkUI.Full 8374 * @crossplatform 8375 * @atomicservice 8376 * @since 11 8377 */ 8378declare enum TextContentStyle { 8379 /** 8380 * Text content default style. 8381 * 8382 * @syscap SystemCapability.ArkUI.ArkUI.Full 8383 * @since 10 8384 */ 8385 /** 8386 * Text content default style. 8387 * 8388 * @syscap SystemCapability.ArkUI.ArkUI.Full 8389 * @crossplatform 8390 * @atomicservice 8391 * @since 11 8392 */ 8393 DEFAULT, 8394 8395 /** 8396 * Text content inline style. 8397 * 8398 * @syscap SystemCapability.ArkUI.ArkUI.Full 8399 * @since 10 8400 */ 8401 /** 8402 * Text content inline style. 8403 * 8404 * @syscap SystemCapability.ArkUI.ArkUI.Full 8405 * @crossplatform 8406 * @atomicservice 8407 * @since 11 8408 */ 8409 INLINE 8410} 8411 8412/** 8413 * Enum of click effect level. 8414 * 8415 * @enum { number } 8416 * @syscap SystemCapability.ArkUI.ArkUI.Full 8417 * @crossplatform 8418 * @since 10 8419 */ 8420/** 8421 * Enum of click effect level. 8422 * 8423 * @enum { number } 8424 * @syscap SystemCapability.ArkUI.ArkUI.Full 8425 * @crossplatform 8426 * @atomicservice 8427 * @since 11 8428 */ 8429declare enum ClickEffectLevel { 8430 /** 8431 * Click effect level1. 8432 * The default scale number of this click effect level1 is 0.90. 8433 * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:410, damping:38. 8434 * 8435 * @syscap SystemCapability.ArkUI.ArkUI.Full 8436 * @crossplatform 8437 * @since 10 8438 */ 8439 /** 8440 * Click effect level1. 8441 * The default scale number of this click effect level1 is 0.90. 8442 * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:410, damping:38. 8443 * 8444 * @syscap SystemCapability.ArkUI.ArkUI.Full 8445 * @crossplatform 8446 * @atomicservice 8447 * @since 11 8448 */ 8449 LIGHT, 8450 8451 /** 8452 * Click effect level2. 8453 * The default scale number of this click effect level2 is 0.95. 8454 * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:350, damping:35. 8455 * 8456 * @syscap SystemCapability.ArkUI.ArkUI.Full 8457 * @crossplatform 8458 * @since 10 8459 */ 8460 /** 8461 * Click effect level2. 8462 * The default scale number of this click effect level2 is 0.95. 8463 * The animation type is interpolatingSpring, velocity:10, mass:1, stiffness:350, damping:35. 8464 * 8465 * @syscap SystemCapability.ArkUI.ArkUI.Full 8466 * @crossplatform 8467 * @atomicservice 8468 * @since 11 8469 */ 8470 MIDDLE, 8471 8472 /** 8473 * Click effect level3. 8474 * The default scale number of this click effect level3 is 0.95. 8475 * The animation type is interpolatingSpring, velocity:0, mass:1, stiffness:240, damping:28. 8476 * 8477 * @syscap SystemCapability.ArkUI.ArkUI.Full 8478 * @crossplatform 8479 * @since 10 8480 */ 8481 /** 8482 * Click effect level3. 8483 * The default scale number of this click effect level3 is 0.95. 8484 * The animation type is interpolatingSpring, velocity:0, mass:1, stiffness:240, damping:28. 8485 * 8486 * @syscap SystemCapability.ArkUI.ArkUI.Full 8487 * @crossplatform 8488 * @atomicservice 8489 * @since 11 8490 */ 8491 HEAVY, 8492} 8493 8494/** 8495 * The type of XComponent 8496 * 8497 * @enum { number } 8498 * @syscap SystemCapability.ArkUI.ArkUI.Full 8499 * @since 10 8500 */ 8501/** 8502 * The type of XComponent 8503 * 8504 * @enum { number } 8505 * @syscap SystemCapability.ArkUI.ArkUI.Full 8506 * @atomicservice 8507 * @since 11 8508 */ 8509/** 8510 * The type of XComponent 8511 * 8512 * @enum { number } 8513 * @syscap SystemCapability.ArkUI.ArkUI.Full 8514 * @crossplatform 8515 * @atomicservice 8516 * @since 12 8517 */ 8518declare enum XComponentType { 8519 /** 8520 * Surface type. The default type is used. 8521 * 8522 * @syscap SystemCapability.ArkUI.ArkUI.Full 8523 * @since 10 8524 */ 8525 /** 8526 * Surface type. The default type is used. 8527 * 8528 * @syscap SystemCapability.ArkUI.ArkUI.Full 8529 * @atomicservice 8530 * @since 11 8531 */ 8532 /** 8533 * Surface type. The default type is used. 8534 * 8535 * @syscap SystemCapability.ArkUI.ArkUI.Full 8536 * @crossplatform 8537 * @atomicservice 8538 * @since 12 8539 */ 8540 SURFACE, 8541 8542 /** 8543 * Component type. 8544 * 8545 * @syscap SystemCapability.ArkUI.ArkUI.Full 8546 * @since 10 8547 */ 8548 /** 8549 * Component type. 8550 * 8551 * @syscap SystemCapability.ArkUI.ArkUI.Full 8552 * @atomicservice 8553 * @since 11 8554 * @deprecated since 12 8555 */ 8556 COMPONENT, 8557 8558 /** 8559 * Texture type. 8560 * 8561 * @syscap SystemCapability.ArkUI.ArkUI.Full 8562 * @since 10 8563 */ 8564 /** 8565 * Texture type. 8566 * 8567 * @syscap SystemCapability.ArkUI.ArkUI.Full 8568 * @atomicservice 8569 * @since 11 8570 */ 8571 TEXTURE, 8572 8573 /** 8574 * Node type. 8575 * 8576 * @syscap SystemCapability.ArkUI.ArkUI.Full 8577 * @atomicservice 8578 * @since 12 8579 */ 8580 NODE, 8581} 8582 8583/** 8584 * Nested scroll nested mode 8585 8586 * @enum { number } NestedScrollMode 8587 * @syscap SystemCapability.ArkUI.ArkUI.Full 8588 * @since 10 8589 */ 8590/** 8591 * Nested scroll nested mode 8592 8593 * @enum { number } NestedScrollMode 8594 * @syscap SystemCapability.ArkUI.ArkUI.Full 8595 * @crossplatform 8596 * @atomicservice 8597 * @since 11 8598 */ 8599declare enum NestedScrollMode { 8600 /** 8601 * Only Self response scrolling. 8602 * 8603 * @syscap SystemCapability.ArkUI.ArkUI.Full 8604 * @since 10 8605 */ 8606 /** 8607 * Only Self response scrolling. 8608 * 8609 * @syscap SystemCapability.ArkUI.ArkUI.Full 8610 * @crossplatform 8611 * @atomicservice 8612 * @since 11 8613 */ 8614 SELF_ONLY, 8615 8616 /** 8617 * Self priority response scrolling. 8618 * 8619 * @syscap SystemCapability.ArkUI.ArkUI.Full 8620 * @since 10 8621 */ 8622 /** 8623 * Self priority response scrolling. 8624 * 8625 * @syscap SystemCapability.ArkUI.ArkUI.Full 8626 * @crossplatform 8627 * @atomicservice 8628 * @since 11 8629 */ 8630 SELF_FIRST, 8631 8632 /** 8633 * Parent scrollable component priority response scrolling. 8634 * 8635 * @syscap SystemCapability.ArkUI.ArkUI.Full 8636 * @since 10 8637 */ 8638 /** 8639 * Parent scrollable component priority response scrolling. 8640 * 8641 * @syscap SystemCapability.ArkUI.ArkUI.Full 8642 * @crossplatform 8643 * @atomicservice 8644 * @since 11 8645 */ 8646 PARENT_FIRST, 8647 8648 /** 8649 * Both self and parent scrollable component response scrolling. 8650 * 8651 * @syscap SystemCapability.ArkUI.ArkUI.Full 8652 * @since 10 8653 */ 8654 /** 8655 * Both self and parent scrollable component response scrolling. 8656 * 8657 * @syscap SystemCapability.ArkUI.ArkUI.Full 8658 * @crossplatform 8659 * @atomicservice 8660 * @since 11 8661 */ 8662 PARALLEL, 8663} 8664 8665/** 8666 * The possible source of scroll event 8667 * @enum { number } ScrollSource 8668 * @syscap SystemCapability.ArkUI.ArkUI.Full 8669 * @crossplatform 8670 * @atomicservice 8671 * @since 12 8672 */ 8673declare enum ScrollSource { 8674 /** 8675 * Drag events. 8676 * @syscap SystemCapability.ArkUI.ArkUI.Full 8677 * @crossplatform 8678 * @atomicservice 8679 * @since 12 8680 */ 8681 DRAG = 0, 8682 8683 /** 8684 * Fling after the drag has ended with velocity. 8685 * @syscap SystemCapability.ArkUI.ArkUI.Full 8686 * @crossplatform 8687 * @atomicservice 8688 * @since 12 8689 */ 8690 FLING, 8691 8692 /** 8693 * Over scroll with EdgeEffect.Spring. 8694 * @syscap SystemCapability.ArkUI.ArkUI.Full 8695 * @crossplatform 8696 * @atomicservice 8697 * @since 12 8698 */ 8699 EDGE_EFFECT, 8700 8701 /** 8702 * Other user input except drag, such as mouse wheel, key event. 8703 * @syscap SystemCapability.ArkUI.ArkUI.Full 8704 * @crossplatform 8705 * @atomicservice 8706 * @since 12 8707 */ 8708 OTHER_USER_INPUT, 8709 8710 /** 8711 * Drag events of scroll bar. 8712 * @syscap SystemCapability.ArkUI.ArkUI.Full 8713 * @crossplatform 8714 * @atomicservice 8715 * @since 12 8716 */ 8717 SCROLL_BAR, 8718 8719 /** 8720 * Fling after the drag on scroll bar has ended with velocity. 8721 * @syscap SystemCapability.ArkUI.ArkUI.Full 8722 * @crossplatform 8723 * @atomicservice 8724 * @since 12 8725 */ 8726 SCROLL_BAR_FLING, 8727 8728 /** 8729 * Member methods of Scroller without animation. 8730 * @syscap SystemCapability.ArkUI.ArkUI.Full 8731 * @crossplatform 8732 * @atomicservice 8733 * @since 12 8734 */ 8735 SCROLLER, 8736 8737 /** 8738 * Member methods of Scroller with animation. 8739 * @syscap SystemCapability.ArkUI.ArkUI.Full 8740 * @crossplatform 8741 * @atomicservice 8742 * @since 12 8743 */ 8744 SCROLLER_ANIMATION, 8745} 8746 8747/** 8748 * Enum of RenderFit 8749 * 8750 * @enum { number } RenderFit 8751 * @syscap SystemCapability.ArkUI.ArkUI.Full 8752 * @crossplatform 8753 * @since 10 8754 */ 8755/** 8756 * Enum of RenderFit 8757 * 8758 * @enum { number } RenderFit 8759 * @syscap SystemCapability.ArkUI.ArkUI.Full 8760 * @crossplatform 8761 * @atomicservice 8762 * @since 11 8763 */ 8764declare enum RenderFit { 8765 /** 8766 * Without scaling the content area, the content area is drawn in the center of the node. 8767 * 8768 * @syscap SystemCapability.ArkUI.ArkUI.Full 8769 * @crossplatform 8770 * @since 10 8771 */ 8772 /** 8773 * Without scaling the content area, the content area is drawn in the center of the node. 8774 * 8775 * @syscap SystemCapability.ArkUI.ArkUI.Full 8776 * @crossplatform 8777 * @atomicservice 8778 * @since 11 8779 */ 8780 CENTER = 0, 8781 /** 8782 * Without scaling the content area, the content area is drawn in the top center of the node. 8783 * 8784 * @syscap SystemCapability.ArkUI.ArkUI.Full 8785 * @crossplatform 8786 * @since 10 8787 */ 8788 /** 8789 * Without scaling the content area, the content area is drawn in the top center of the node. 8790 * 8791 * @syscap SystemCapability.ArkUI.ArkUI.Full 8792 * @crossplatform 8793 * @atomicservice 8794 * @since 11 8795 */ 8796 TOP = 1, 8797 /** 8798 * Without scaling the content area, the content area is drawn in the bottom center of the node. 8799 * 8800 * @syscap SystemCapability.ArkUI.ArkUI.Full 8801 * @crossplatform 8802 * @since 10 8803 */ 8804 /** 8805 * Without scaling the content area, the content area is drawn in the bottom center of the node. 8806 * 8807 * @syscap SystemCapability.ArkUI.ArkUI.Full 8808 * @crossplatform 8809 * @atomicservice 8810 * @since 11 8811 */ 8812 BOTTOM = 2, 8813 /** 8814 * Without scaling the content area, the content area is drawn in the left center of the node. 8815 * 8816 * @syscap SystemCapability.ArkUI.ArkUI.Full 8817 * @crossplatform 8818 * @since 10 8819 */ 8820 /** 8821 * Without scaling the content area, the content area is drawn in the left center of the node. 8822 * 8823 * @syscap SystemCapability.ArkUI.ArkUI.Full 8824 * @crossplatform 8825 * @atomicservice 8826 * @since 11 8827 */ 8828 LEFT = 3, 8829 /** 8830 * Without scaling the content area, the content area is drawn in the right center of the node. 8831 * 8832 * @syscap SystemCapability.ArkUI.ArkUI.Full 8833 * @crossplatform 8834 * @since 10 8835 */ 8836 /** 8837 * Without scaling the content area, the content area is drawn in the right center of the node. 8838 * 8839 * @syscap SystemCapability.ArkUI.ArkUI.Full 8840 * @crossplatform 8841 * @atomicservice 8842 * @since 11 8843 */ 8844 RIGHT = 4, 8845 /** 8846 * Without scaling the content area, the content area is drawn in the top left of the node. 8847 * 8848 * @syscap SystemCapability.ArkUI.ArkUI.Full 8849 * @crossplatform 8850 * @since 10 8851 */ 8852 /** 8853 * Without scaling the content area, the content area is drawn in the top left of the node. 8854 * 8855 * @syscap SystemCapability.ArkUI.ArkUI.Full 8856 * @crossplatform 8857 * @atomicservice 8858 * @since 11 8859 */ 8860 TOP_LEFT = 5, 8861 /** 8862 * Without scaling the content area, the content area is drawn in the top right of the node. 8863 * 8864 * @syscap SystemCapability.ArkUI.ArkUI.Full 8865 * @crossplatform 8866 * @since 10 8867 */ 8868 /** 8869 * Without scaling the content area, the content area is drawn in the top right of the node. 8870 * 8871 * @syscap SystemCapability.ArkUI.ArkUI.Full 8872 * @crossplatform 8873 * @atomicservice 8874 * @since 11 8875 */ 8876 TOP_RIGHT = 6, 8877 /** 8878 * Without scaling the content area, the content area is drawn in the bottom left of the node. 8879 * 8880 * @syscap SystemCapability.ArkUI.ArkUI.Full 8881 * @crossplatform 8882 * @since 10 8883 */ 8884 /** 8885 * Without scaling the content area, the content area is drawn in the bottom left of the node. 8886 * 8887 * @syscap SystemCapability.ArkUI.ArkUI.Full 8888 * @crossplatform 8889 * @atomicservice 8890 * @since 11 8891 */ 8892 BOTTOM_LEFT = 7, 8893 /** 8894 * Without scaling the content area, the content area is drawn in the bottom right of the node. 8895 * 8896 * @syscap SystemCapability.ArkUI.ArkUI.Full 8897 * @crossplatform 8898 * @since 10 8899 */ 8900 /** 8901 * Without scaling the content area, the content area is drawn in the bottom right of the node. 8902 * 8903 * @syscap SystemCapability.ArkUI.ArkUI.Full 8904 * @crossplatform 8905 * @atomicservice 8906 * @since 11 8907 */ 8908 BOTTOM_RIGHT = 8, 8909 /** 8910 * Scale the length and width of the content area to the node size to fill the node. 8911 * 8912 * @syscap SystemCapability.ArkUI.ArkUI.Full 8913 * @crossplatform 8914 * @since 10 8915 */ 8916 /** 8917 * Scale the length and width of the content area to the node size to fill the node. 8918 * 8919 * @syscap SystemCapability.ArkUI.ArkUI.Full 8920 * @crossplatform 8921 * @atomicservice 8922 * @since 11 8923 */ 8924 RESIZE_FILL = 9, 8925 /** 8926 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8927 * the other side is less than or equal to the corresponding side of the node, and the content after scaling 8928 * is centered. 8929 * 8930 * @syscap SystemCapability.ArkUI.ArkUI.Full 8931 * @crossplatform 8932 * @since 10 8933 */ 8934 /** 8935 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8936 * the other side is less than or equal to the corresponding side of the node, and the content after scaling 8937 * is centered. 8938 * 8939 * @syscap SystemCapability.ArkUI.ArkUI.Full 8940 * @crossplatform 8941 * @atomicservice 8942 * @since 11 8943 */ 8944 RESIZE_CONTAIN = 10, 8945 /** 8946 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8947 * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content 8948 * is less than or equal to the height of the node, the scaled content area is displayed at the top; otherwise, 8949 * the width of the scaled content is less than or equal to the width of the node, the scaled content area is 8950 * displayed at the left. 8951 * 8952 * @syscap SystemCapability.ArkUI.ArkUI.Full 8953 * @crossplatform 8954 * @since 10 8955 */ 8956 /** 8957 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8958 * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content 8959 * is less than or equal to the height of the node, the scaled content area is displayed at the top; otherwise, 8960 * the width of the scaled content is less than or equal to the width of the node, the scaled content area is 8961 * displayed at the left. 8962 * 8963 * @syscap SystemCapability.ArkUI.ArkUI.Full 8964 * @crossplatform 8965 * @atomicservice 8966 * @since 11 8967 */ 8968 RESIZE_CONTAIN_TOP_LEFT = 11, 8969 /** 8970 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8971 * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content 8972 * is less than or equal to the height of the node, the scaled content area is displayed at the bottom; otherwise, 8973 * the width of the scaled content is less than or equal to the width of the node, the scaled content area is 8974 * displayed at the right. 8975 * 8976 * @syscap SystemCapability.ArkUI.ArkUI.Full 8977 * @crossplatform 8978 * @since 10 8979 */ 8980 /** 8981 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8982 * the other side is less than or equal to the corresponding side of the node. If the height of the scaled content 8983 * is less than or equal to the height of the node, the scaled content area is displayed at the bottom; otherwise, 8984 * the width of the scaled content is less than or equal to the width of the node, the scaled content area is 8985 * displayed at the right. 8986 * 8987 * @syscap SystemCapability.ArkUI.ArkUI.Full 8988 * @crossplatform 8989 * @atomicservice 8990 * @since 11 8991 */ 8992 RESIZE_CONTAIN_BOTTOM_RIGHT = 12, 8993 /** 8994 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 8995 * the other side is greater than or equal to the corresponding side of the node, and the content after scaling 8996 * displays the center area. 8997 * 8998 * @syscap SystemCapability.ArkUI.ArkUI.Full 8999 * @crossplatform 9000 * @since 10 9001 */ 9002 /** 9003 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 9004 * the other side is greater than or equal to the corresponding side of the node, and the content after scaling 9005 * displays the center area. 9006 * 9007 * @syscap SystemCapability.ArkUI.ArkUI.Full 9008 * @crossplatform 9009 * @atomicservice 9010 * @since 11 9011 */ 9012 RESIZE_COVER = 13, 9013 /** 9014 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 9015 * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content 9016 * is greater than or equal to the height of the node, the scaled content area displays the top area; otherwise, 9017 * the width of the scaled content is greater than or equal to the width of the node, the scaled content area 9018 * displays the left area. 9019 * 9020 * @syscap SystemCapability.ArkUI.ArkUI.Full 9021 * @crossplatform 9022 * @since 10 9023 */ 9024 /** 9025 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 9026 * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content 9027 * is greater than or equal to the height of the node, the scaled content area displays the top area; otherwise, 9028 * the width of the scaled content is greater than or equal to the width of the node, the scaled content area 9029 * displays the left area. 9030 * 9031 * @syscap SystemCapability.ArkUI.ArkUI.Full 9032 * @crossplatform 9033 * @atomicservice 9034 * @since 11 9035 */ 9036 RESIZE_COVER_TOP_LEFT = 14, 9037 /** 9038 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 9039 * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content 9040 * is greater than or equal to the height of the node, the scaled content area displays the bottom area; otherwise, 9041 * the width of the scaled content is greater than or equal to the width of the node, the scaled content area 9042 * displays the right area. 9043 * 9044 * @syscap SystemCapability.ArkUI.ArkUI.Full 9045 * @crossplatform 9046 * @since 10 9047 */ 9048 /** 9049 * Scale the length or width of the content to the length or width of the node, ensuring that one side is equal, 9050 * the other side is greater than or equal to the corresponding side of the node. If the height of the scaled content 9051 * is greater than or equal to the height of the node, the scaled content area displays the bottom area; otherwise, 9052 * the width of the scaled content is greater than or equal to the width of the node, the scaled content area 9053 * displays the right area. 9054 * 9055 * @syscap SystemCapability.ArkUI.ArkUI.Full 9056 * @crossplatform 9057 * @atomicservice 9058 * @since 11 9059 */ 9060 RESIZE_COVER_BOTTOM_RIGHT = 15, 9061} 9062 9063/** 9064 * The Button Style of dialog, 9065 * @enum { number } 9066 * @syscap SystemCapability.ArkUI.ArkUI.Full 9067 * @crossplatform 9068 * @since 10 9069 */ 9070/** 9071 * The Button Style of dialog, 9072 * @enum { number } 9073 * @syscap SystemCapability.ArkUI.ArkUI.Full 9074 * @crossplatform 9075 * @atomicservice 9076 * @since 11 9077 */ 9078declare enum DialogButtonStyle { 9079 /** 9080 * Default Style. 9081 * @syscap SystemCapability.ArkUI.ArkUI.Full 9082 * @crossplatform 9083 * @since 10 9084 */ 9085 /** 9086 * Default Style. 9087 * @syscap SystemCapability.ArkUI.ArkUI.Full 9088 * @crossplatform 9089 * @atomicservice 9090 * @since 11 9091 */ 9092 DEFAULT = 0, 9093 9094 /** 9095 * Highlight Style. 9096 * @syscap SystemCapability.ArkUI.ArkUI.Full 9097 * @crossplatform 9098 * @since 10 9099 */ 9100 /** 9101 * Highlight Style. 9102 * @syscap SystemCapability.ArkUI.ArkUI.Full 9103 * @crossplatform 9104 * @atomicservice 9105 * @since 11 9106 */ 9107 HIGHLIGHT = 1 9108} 9109 9110/** 9111 * Enum of word break 9112 * 9113 * @enum { number } 9114 * @syscap SystemCapability.ArkUI.ArkUI.Full 9115 * @crossplatform 9116 * @atomicservice 9117 * @since 11 9118 */ 9119declare enum WordBreak { 9120 /** 9121 * By default, CJK text can be wrapped between any 2 characters, and non-CJK text can only be wrapped in spaces. 9122 * 9123 * @syscap SystemCapability.ArkUI.ArkUI.Full 9124 * @crossplatform 9125 * @atomicservice 9126 * @since 11 9127 */ 9128 NORMAL = 0, 9129 9130 /** 9131 * Non-CJK text be wrapped at any character 9132 * 9133 * @syscap SystemCapability.ArkUI.ArkUI.Full 9134 * @crossplatform 9135 * @atomicservice 9136 * @since 11 9137 */ 9138 BREAK_ALL = 1, 9139 9140 /** 9141 * Non-CJK text can be wrapped at any character 9142 * and if a complete word can be preserved in space breaks, the word must be kept on the line. 9143 * 9144 * @syscap SystemCapability.ArkUI.ArkUI.Full 9145 * @crossplatform 9146 * @atomicservice 9147 * @since 11 9148 */ 9149 BREAK_WORD = 2, 9150} 9151 9152/** 9153 * Enum of line break strategy 9154 * 9155 * @enum { number } 9156 * @syscap SystemCapability.ArkUI.ArkUI.Full 9157 * @crossplatform 9158 * @atomicservice 9159 * @since 12 9160 */ 9161declare enum LineBreakStrategy { 9162 /** 9163 * By default. Display as many characters as possible on each line until no more characters 9164 * can be displayed on that line, and do not automatically add hyphens under this strategy 9165 * 9166 * @syscap SystemCapability.ArkUI.ArkUI.Full 9167 * @crossplatform 9168 * @atomicservice 9169 * @since 12 9170 */ 9171 GREEDY = 0, 9172 9173 /** 9174 * High quality folding. Optimize the layout of the entire text's line breaks and automatically 9175 * add hyphens if necessary. 9176 * 9177 * @syscap SystemCapability.ArkUI.ArkUI.Full 9178 * @crossplatform 9179 * @atomicservice 9180 * @since 12 9181 */ 9182 HIGH_QUALITY = 1, 9183 9184 /** 9185 * Balanced folding. We will try our best to ensure that the width of each line in a paragraph 9186 * is the same, and if necessary, we will add conjunction 9187 * 9188 * @syscap SystemCapability.ArkUI.ArkUI.Full 9189 * @crossplatform 9190 * @atomicservice 9191 * @since 12 9192 */ 9193 BALANCED = 2, 9194} 9195 9196/** 9197 * Enum of Illuminated type 9198 * 9199 * @enum { number } 9200 * @syscap SystemCapability.ArkUI.ArkUI.Full 9201 * @systemapi 9202 * @since 11 9203 */ 9204declare enum IlluminatedType { 9205 /** 9206 * Component is not illuminated. 9207 * 9208 * @syscap SystemCapability.ArkUI.ArkUI.Full 9209 * @systemapi 9210 * @since 11 9211 */ 9212 NONE = 0, 9213 /** 9214 * Border is illuminated. 9215 * 9216 * @syscap SystemCapability.ArkUI.ArkUI.Full 9217 * @systemapi 9218 * @since 11 9219 */ 9220 BORDER = 1, 9221 /** 9222 * Content is illuminated. 9223 * 9224 * @syscap SystemCapability.ArkUI.ArkUI.Full 9225 * @systemapi 9226 * @since 11 9227 */ 9228 CONTENT = 2, 9229 /** 9230 * Border and Content is illuminated. 9231 * 9232 * @syscap SystemCapability.ArkUI.ArkUI.Full 9233 * @systemapi 9234 * @since 11 9235 */ 9236 BORDER_CONTENT = 3, 9237 /** 9238 * Border is illuminated, and the border have a bloom effect. 9239 * 9240 * @syscap SystemCapability.ArkUI.ArkUI.Full 9241 * @systemapi 9242 * @since 11 9243 */ 9244 BLOOM_BORDER = 4, 9245 /** 9246 * Border and Content is illuminated, and the border have a bloom effect. 9247 * 9248 * @syscap SystemCapability.ArkUI.ArkUI.Full 9249 * @systemapi 9250 * @since 11 9251 */ 9252 BLOOM_BORDER_CONTENT = 5 9253} 9254 9255/** 9256 * Enum of ellipsisMode 9257 * 9258 * @enum { number } 9259 * @syscap SystemCapability.ArkUI.ArkUI.Full 9260 * @crossplatform 9261 * @since 11 9262 */ 9263/** 9264 * Enum of ellipsisMode 9265 * 9266 * @enum { number } 9267 * @syscap SystemCapability.ArkUI.ArkUI.Full 9268 * @crossplatform 9269 * @atomicservice 9270 * @since 12 9271 */ 9272declare enum EllipsisMode { 9273 /** 9274 * The ellipsis is in the head. 9275 * 9276 * @syscap SystemCapability.ArkUI.ArkUI.Full 9277 * @crossplatform 9278 * @since 11 9279 */ 9280 /** 9281 * The ellipsis is in the head. 9282 * 9283 * @syscap SystemCapability.ArkUI.ArkUI.Full 9284 * @crossplatform 9285 * @atomicservice 9286 * @since 12 9287 */ 9288 START = 0, 9289 9290 /** 9291 * The ellipsis is in the middle. 9292 * 9293 * @syscap SystemCapability.ArkUI.ArkUI.Full 9294 * @crossplatform 9295 * @since 11 9296 */ 9297 /** 9298 * The ellipsis is in the middle. 9299 * 9300 * @syscap SystemCapability.ArkUI.ArkUI.Full 9301 * @crossplatform 9302 * @atomicservice 9303 * @since 12 9304 */ 9305 CENTER = 1, 9306 9307 /** 9308 * The ellipsis is at the end. 9309 * 9310 * @syscap SystemCapability.ArkUI.ArkUI.Full 9311 * @crossplatform 9312 * @since 11 9313 */ 9314 /** 9315 * The ellipsis is at the end. 9316 * 9317 * @syscap SystemCapability.ArkUI.ArkUI.Full 9318 * @crossplatform 9319 * @atomicservice 9320 * @since 12 9321 */ 9322 END = 2, 9323} 9324 9325/** 9326 * A type which can be undefined 9327 * 9328 * @typedef { T | undefined } Nullable<T> 9329 * @syscap SystemCapability.ArkUI.ArkUI.Full 9330 * @crossplatform 9331 * @since 11 9332 */ 9333/** 9334 * A type which can be undefined 9335 * 9336 * @typedef { T | undefined } Nullable<T> 9337 * @syscap SystemCapability.ArkUI.ArkUI.Full 9338 * @crossplatform 9339 * @atomicservice 9340 * @since 12 9341 */ 9342 declare type Nullable<T> = T | undefined; 9343 9344 9345/** 9346 * Decide whether the width of select menu fit the trigger or content 9347 * 9348 * @enum { string } 9349 * @syscap SystemCapability.ArkUI.ArkUI.Full 9350 * @crossplatform 9351 * @since 11 9352 */ 9353/** 9354 * Decide whether the width of select menu fit the trigger or content 9355 * 9356 * @enum { string } 9357 * @syscap SystemCapability.ArkUI.ArkUI.Full 9358 * @crossplatform 9359 * @atomicservice 9360 * @since 12 9361 */ 9362declare enum OptionWidthMode { 9363 /** 9364 * The menu width fit the content. 9365 * 9366 * @syscap SystemCapability.ArkUI.ArkUI.Full 9367 * @crossplatform 9368 * @since 11 9369 */ 9370 /** 9371 * The menu width fit the content. 9372 * 9373 * @syscap SystemCapability.ArkUI.ArkUI.Full 9374 * @crossplatform 9375 * @atomicservice 9376 * @since 12 9377 */ 9378 FIT_CONTENT = 'fit_content', 9379 9380 /** 9381 * The menu width fit the trigger. 9382 * 9383 * @syscap SystemCapability.ArkUI.ArkUI.Full 9384 * @crossplatform 9385 * @since 11 9386 */ 9387 /** 9388 * The menu width fit the trigger. 9389 * 9390 * @syscap SystemCapability.ArkUI.ArkUI.Full 9391 * @crossplatform 9392 * @atomicservice 9393 * @since 12 9394 */ 9395 FIT_TRIGGER = 'fit_trigger', 9396} 9397 9398/** 9399 * Enumerates the fold status. 9400 * 9401 * @enum { number } 9402 * @syscap SystemCapability.ArkUI.ArkUI.Full 9403 * @crossplatform 9404 * @since 11 9405 */ 9406/** 9407 * Enumerates the fold status. 9408 * 9409 * @enum { number } 9410 * @syscap SystemCapability.ArkUI.ArkUI.Full 9411 * @crossplatform 9412 * @atomicservice 9413 * @since 12 9414 */ 9415declare enum FoldStatus { 9416 /** 9417 * Fold Status Unknown. 9418 * 9419 * @syscap SystemCapability.ArkUI.ArkUI.Full 9420 * @crossplatform 9421 * @since 11 9422 */ 9423 /** 9424 * Fold Status Unknown. 9425 * 9426 * @syscap SystemCapability.ArkUI.ArkUI.Full 9427 * @crossplatform 9428 * @atomicservice 9429 * @since 12 9430 */ 9431 FOLD_STATUS_UNKNOWN = 0, 9432 /** 9433 * Fold Status Expanded. 9434 * 9435 * @syscap SystemCapability.ArkUI.ArkUI.Full 9436 * @crossplatform 9437 * @since 11 9438 */ 9439 /** 9440 * Fold Status Expanded. 9441 * 9442 * @syscap SystemCapability.ArkUI.ArkUI.Full 9443 * @crossplatform 9444 * @atomicservice 9445 * @since 12 9446 */ 9447 FOLD_STATUS_EXPANDED = 1, 9448 /** 9449 * Fold Status Folded. 9450 * 9451 * @syscap SystemCapability.ArkUI.ArkUI.Full 9452 * @crossplatform 9453 * @since 11 9454 */ 9455 /** 9456 * Fold Status Folded. 9457 * 9458 * @syscap SystemCapability.ArkUI.ArkUI.Full 9459 * @crossplatform 9460 * @atomicservice 9461 * @since 12 9462 */ 9463 FOLD_STATUS_FOLDED = 2, 9464 /** 9465 * Fold Status Half Folded. 9466 * 9467 * @syscap SystemCapability.ArkUI.ArkUI.Full 9468 * @crossplatform 9469 * @since 11 9470 */ 9471 /** 9472 * Fold Status Half Folded. 9473 * 9474 * @syscap SystemCapability.ArkUI.ArkUI.Full 9475 * @crossplatform 9476 * @atomicservice 9477 * @since 12 9478 */ 9479 FOLD_STATUS_HALF_FOLDED = 3, 9480} 9481 9482/** 9483 * Enumerates the app rotation. 9484 * 9485 * @enum { number } 9486 * @syscap SystemCapability.ArkUI.ArkUI.Full 9487 * @atomicservice 9488 * @since 12 9489 */ 9490declare enum AppRotation { 9491 9492 /** 9493 * App does not rotate to display vertically. 9494 * 9495 * @syscap SystemCapability.ArkUI.ArkUI.Full 9496 * @atomicservice 9497 * @since 12 9498 */ 9499 ROTATION_0 = 0, 9500 9501 /** 9502 * App rotates 90 degrees clockwise to display horizontally. 9503 * 9504 * @syscap SystemCapability.ArkUI.ArkUI.Full 9505 * @atomicservice 9506 * @since 12 9507 */ 9508 ROTATION_90 = 1, 9509 9510 /** 9511 * App rotates 180 degrees clockwise to display vertically in reverse. 9512 * 9513 * @syscap SystemCapability.ArkUI.ArkUI.Full 9514 * @atomicservice 9515 * @since 12 9516 */ 9517 ROTATION_180 = 2, 9518 9519 /** 9520 * App rotates 270 degrees clockwise to display horizontally in reverse. 9521 * 9522 * @syscap SystemCapability.ArkUI.ArkUI.Full 9523 * @atomicservice 9524 * @since 12 9525 */ 9526 ROTATION_270 = 3 9527} 9528 9529/** 9530 * Enum of EmbeddedType 9531 * 9532 * @enum { number } 9533 * @syscap SystemCapability.ArkUI.ArkUI.Full 9534 * @atomicservice 9535 * @since 12 9536 */ 9537declare enum EmbeddedType { 9538 /** 9539 * The EmbeddedComponent show the UI in EmbeddedUIExtensionAbility. 9540 * 9541 * @syscap SystemCapability.ArkUI.ArkUI.Full 9542 * @atomicservice 9543 * @since 12 9544 */ 9545 EMBEDDED_UI_EXTENSION = 0, 9546} 9547 9548/** 9549 * Marquee scrolling strategy after text update 9550 * 9551 * @enum { number } 9552 * @syscap SystemCapability.ArkUI.ArkUI.Full 9553 * @crossplatform 9554 * @atomicservice 9555 * @since 12 9556 */ 9557declare enum MarqueeUpdateStrategy { 9558 /** 9559 * Reset scroll position and restart scroll. 9560 * 9561 * @syscap SystemCapability.ArkUI.ArkUI.Full 9562 * @crossplatform 9563 * @atomicservice 9564 * @since 12 9565 */ 9566 DEFAULT = 0, 9567 9568 /** 9569 * Preserve scroll position, just change to new text 9570 * 9571 * @syscap SystemCapability.ArkUI.ArkUI.Full 9572 * @crossplatform 9573 * @atomicservice 9574 * @since 12 9575 */ 9576 PRESERVE_POSITION = 1 9577} 9578 9579/** 9580 * Type of text decoration line style. 9581 * 9582 * @enum {number} 9583 * @syscap SystemCapability.ArkUI.ArkUI.Full 9584 * @crossplatform 9585 * @atomicservice 9586 * @since 12 9587 */ 9588declare enum TextDecorationStyle { 9589 /** 9590 * Solid line. 9591 * 9592 * @syscap SystemCapability.ArkUI.ArkUI.Full 9593 * @crossplatform 9594 * @atomicservice 9595 * @since 12 9596 */ 9597 SOLID = 0, 9598 9599 /** 9600 * Double lines. 9601 * 9602 * @syscap SystemCapability.ArkUI.ArkUI.Full 9603 * @crossplatform 9604 * @atomicservice 9605 * @since 12 9606 */ 9607 DOUBLE = 1, 9608 9609 /** 9610 * Dotted line. 9611 * 9612 * @syscap SystemCapability.ArkUI.ArkUI.Full 9613 * @crossplatform 9614 * @atomicservice 9615 * @since 12 9616 */ 9617 DOTTED = 2, 9618 9619 /** 9620 * Dashed line. 9621 * 9622 * @syscap SystemCapability.ArkUI.ArkUI.Full 9623 * @crossplatform 9624 * @atomicservice 9625 * @since 12 9626 */ 9627 DASHED = 3, 9628 9629 /** 9630 * Wavy line. 9631 * 9632 * @syscap SystemCapability.ArkUI.ArkUI.Full 9633 * @crossplatform 9634 * @atomicservice 9635 * @since 12 9636 */ 9637 WAVY = 4, 9638} 9639 9640/** 9641 * Type of text selectable. 9642 * 9643 * @enum {number} 9644 * @syscap SystemCapability.ArkUI.ArkUI.Full 9645 * @crossplatform 9646 * @atomicservice 9647 * @since 12 9648 */ 9649declare enum TextSelectableMode { 9650 /** 9651 * set text selectable and unfocusable. 9652 * 9653 * @syscap SystemCapability.ArkUI.ArkUI.Full 9654 * @crossplatform 9655 * @atomicservice 9656 * @since 12 9657 */ 9658 SELECTABLE_UNFOCUSABLE = 0, 9659 9660 /** 9661 * set text selectable and focusable. 9662 * 9663 * @syscap SystemCapability.ArkUI.ArkUI.Full 9664 * @crossplatform 9665 * @atomicservice 9666 * @since 12 9667 */ 9668 SELECTABLE_FOCUSABLE = 1, 9669 9670 /** 9671 * set text unselectable and unfocusable. 9672 * 9673 * @syscap SystemCapability.ArkUI.ArkUI.Full 9674 * @crossplatform 9675 * @atomicservice 9676 * @since 12 9677 */ 9678 UNSELECTABLE = 2, 9679} 9680 9681/** 9682 * Type of accessibility hover event. 9683 * 9684 * @enum {number} 9685 * @syscap SystemCapability.ArkUI.ArkUI.Full 9686 * @crossplatform 9687 * @atomicservice 9688 * @since 12 9689 */ 9690declare enum AccessibilityHoverType { 9691 /** 9692 * Hover enter type. 9693 * 9694 * @syscap SystemCapability.ArkUI.ArkUI.Full 9695 * @crossplatform 9696 * @atomicservice 9697 * @since 12 9698 */ 9699 HOVER_ENTER = 0, 9700 9701 /** 9702 * Hover move type. 9703 * 9704 * @syscap SystemCapability.ArkUI.ArkUI.Full 9705 * @crossplatform 9706 * @atomicservice 9707 * @since 12 9708 */ 9709 HOVER_MOVE = 1, 9710 9711 /** 9712 * Hover exit type. 9713 * 9714 * @syscap SystemCapability.ArkUI.ArkUI.Full 9715 * @crossplatform 9716 * @atomicservice 9717 * @since 12 9718 */ 9719 HOVER_EXIT = 2, 9720 9721 /** 9722 * Hover cancel type. 9723 * 9724 * @syscap SystemCapability.ArkUI.ArkUI.Full 9725 * @crossplatform 9726 * @atomicservice 9727 * @since 12 9728 */ 9729 HOVER_CANCEL = 3, 9730} 9731 9732/** 9733 * Type of window width breakpoint. 9734 * 9735 * @enum {number} 9736 * @syscap SystemCapability.ArkUI.ArkUI.Full 9737 * @atomicservice 9738 * @since 13 9739 */ 9740declare enum WidthBreakpoint { 9741 /** 9742 * Window width < 320vp type. 9743 * 9744 * @syscap SystemCapability.ArkUI.ArkUI.Full 9745 * @atomicservice 9746 * @since 13 9747 */ 9748 WIDTH_XS = 0, 9749 9750 /** 9751 * Window width >= 320vp and < 600vp type. 9752 * 9753 * @syscap SystemCapability.ArkUI.ArkUI.Full 9754 * @atomicservice 9755 * @since 13 9756 */ 9757 WIDTH_SM = 1, 9758 9759 /** 9760 * Window width >= 600vp and < 840vp type. 9761 * 9762 * @syscap SystemCapability.ArkUI.ArkUI.Full 9763 * @atomicservice 9764 * @since 13 9765 */ 9766 WIDTH_MD = 2, 9767 9768 /** 9769 * Window width >= 840vp and < 1440vp type. 9770 * 9771 * @syscap SystemCapability.ArkUI.ArkUI.Full 9772 * @atomicservice 9773 * @since 13 9774 */ 9775 WIDTH_LG = 3, 9776 9777 /** 9778 * Window width >= 1440vp type. 9779 * 9780 * @syscap SystemCapability.ArkUI.ArkUI.Full 9781 * @atomicservice 9782 * @since 13 9783 */ 9784 WIDTH_XL = 4, 9785} 9786 9787/** 9788 * Type of window height breakpoint. 9789 * 9790 * @enum {number} 9791 * @syscap SystemCapability.ArkUI.ArkUI.Full 9792 * @atomicservice 9793 * @since 13 9794 */ 9795declare enum HeightBreakpoint { 9796 /** 9797 * Window aspectRatio < 0.8 type. 9798 * 9799 * @syscap SystemCapability.ArkUI.ArkUI.Full 9800 * @atomicservice 9801 * @since 13 9802 */ 9803 HEIGHT_SM = 0, 9804 9805 /** 9806 * Window aspectRatio >= 0.8 and < 1.2 type. 9807 * 9808 * @syscap SystemCapability.ArkUI.ArkUI.Full 9809 * @atomicservice 9810 * @since 13 9811 */ 9812 HEIGHT_MD = 1, 9813 9814 /** 9815 * Window aspectRatio >= 1.2 type. 9816 * 9817 * @syscap SystemCapability.ArkUI.ArkUI.Full 9818 * @atomicservice 9819 * @since 13 9820 */ 9821 HEIGHT_LG = 2, 9822}