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