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