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