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