• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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/*** if arkts 1.2 */
22import { Resource as _Resource } from '../../global/resource';
23import { Color, BorderStyle, FontWeight, FontStyle, DividerMode} from './enums';
24import { OutlineStyle } from './common';
25import { LengthMetricsUnit as _LengthMetricsUnit, LengthMetrics as _LengthMetrics, ColorMetrics as _ColorMetrics } from '../Graphics';
26/*** endif */
27
28/**
29 * Defines the data type of the interface restriction.
30 *
31 * @typedef { import('../api/global/resource').Resource } Resource
32 * @interface Resource
33 * @syscap SystemCapability.ArkUI.ArkUI.Full
34 * @since 7
35 */
36/**
37 * Defines the data type of the interface restriction.
38 *
39 * @typedef { import('../api/global/resource').Resource } Resource
40 * @interface Resource
41 * @syscap SystemCapability.ArkUI.ArkUI.Full
42 * @form
43 * @since 9
44 */
45/**
46 * Defines the data type of the interface restriction.
47 *
48 * @typedef { import('../api/global/resource').Resource } Resource
49 * @syscap SystemCapability.ArkUI.ArkUI.Full
50 * @crossplatform
51 * @form
52 * @since 10
53 */
54/**
55 * Defines the data type of the interface restriction.
56 *
57 * @typedef { import('../api/global/resource').Resource } Resource
58 * @syscap SystemCapability.ArkUI.ArkUI.Full
59 * @crossplatform
60 * @form
61 * @atomicservice
62 * @since 11
63 */
64declare type Resource = import('../api/global/resource').Resource;
65
66/**
67 * Defines the data type of the interface restriction.
68 *
69 * @typedef { _Resource } Resource
70 * @syscap SystemCapability.ArkUI.ArkUI.Full
71 * @crossplatform
72 * @form
73 * @atomicservice
74 * @since 20
75 * @arkts 1.2
76 */
77declare type Resource = _Resource;
78
79/**
80 * Defines the length property with string, number and resource unit.
81 *
82 * @typedef { string | number | Resource } Length
83 * @syscap SystemCapability.ArkUI.ArkUI.Full
84 * @since 7
85 */
86/**
87 * Defines the length property with string, number and resource unit.
88 *
89 * @typedef { string | number | Resource } Length
90 * @syscap SystemCapability.ArkUI.ArkUI.Full
91 * @form
92 * @since 9
93 */
94/**
95 * Defines the length property with string, number and resource unit.
96 *
97 * @typedef { string | number | Resource } Length
98 * @syscap SystemCapability.ArkUI.ArkUI.Full
99 * @crossplatform
100 * @form
101 * @since 10
102 */
103/**
104 * Defines the length property with string, number and resource unit.
105 *
106 * @typedef { string | number | Resource } Length
107 * @syscap SystemCapability.ArkUI.ArkUI.Full
108 * @crossplatform
109 * @form
110 * @atomicservice
111 * @since arkts {'1.1':'11','1.2':'20'}
112 * @arkts 1.1&1.2
113 */
114declare type Length = string | number | Resource;
115
116/**
117 * Defines the length property with number in units of px.
118 *
119 * @typedef { `${number}px` } PX
120 * @syscap SystemCapability.ArkUI.ArkUI.Full
121 * @since 10
122 */
123/**
124 * Defines the length property with number in units of px.
125 *
126 * @typedef { `${number}px` } PX
127 * @syscap SystemCapability.ArkUI.ArkUI.Full
128 * @atomicservice
129 * @since 11
130 */
131/**
132 * Defines the length property with number in units of px.
133 *
134 * @typedef { `${number}px` } PX
135 * @syscap SystemCapability.ArkUI.ArkUI.Full
136 * @crossplatform
137 * @atomicservice
138 * @since 18
139 */
140declare type PX = `${number}px`;
141
142
143/**
144 * Defines the length property with number in units of px.
145 *
146 * @typedef { string } PX
147 * @syscap SystemCapability.ArkUI.ArkUI.Full
148 * @atomicservice
149 * @since 20
150 * @arkts 1.2
151 */
152declare type PX = string;
153/**
154 * Defines the length property with number or number in units of vp.
155 *
156 * @typedef { `${number}vp` | number } VP
157 * @syscap SystemCapability.ArkUI.ArkUI.Full
158 * @since 10
159 */
160/**
161 * Defines the length property with number or number in units of vp.
162 *
163 * @typedef { `${number}vp` | number } VP
164 * @syscap SystemCapability.ArkUI.ArkUI.Full
165 * @atomicservice
166 * @since 11
167 */
168/**
169 * Defines the length property with number or number in units of vp.
170 *
171 * @typedef { `${number}vp` | number } VP
172 * @syscap SystemCapability.ArkUI.ArkUI.Full
173 * @crossplatform
174 * @atomicservice
175 * @since 18
176 */
177declare type VP = `${number}vp` | number;
178
179/**
180 * Defines the length property with number or number in units of vp.
181 *
182 * @typedef { string | number } VP
183 * @syscap SystemCapability.ArkUI.ArkUI.Full
184 * @atomicservice
185 * @since 20
186 * @arkts 1.2
187 */
188declare type VP = string | number;
189
190/**
191 * Defines the length property with number in units of fp.
192 *
193 * @typedef { `${number}fp` } FP
194 * @syscap SystemCapability.ArkUI.ArkUI.Full
195 * @since 10
196 */
197/**
198 * Defines the length property with number in units of fp.
199 *
200 * @typedef { `${number}fp` } FP
201 * @syscap SystemCapability.ArkUI.ArkUI.Full
202 * @atomicservice
203 * @since 11
204 */
205/**
206 * Defines the length property with number in units of fp.
207 *
208 * @typedef { `${number}fp` } FP
209 * @syscap SystemCapability.ArkUI.ArkUI.Full
210 * @crossplatform
211 * @atomicservice
212 * @since 18
213 */
214declare type FP = `${number}fp`;
215
216/**
217 * Defines the length property with number in units of fp.
218 *
219 * @typedef { string } FP
220 * @syscap SystemCapability.ArkUI.ArkUI.Full
221 * @atomicservice
222 * @since 20
223 * @arkts 1.2
224 */
225declare type FP = string;
226
227/**
228 * Defines the length property with number in units of lpx.
229 *
230 * @typedef { `${number}lpx` } LPX
231 * @syscap SystemCapability.ArkUI.ArkUI.Full
232 * @since 10
233 */
234/**
235 * Defines the length property with number in units of lpx.
236 *
237 * @typedef { `${number}lpx` } LPX
238 * @syscap SystemCapability.ArkUI.ArkUI.Full
239 * @atomicservice
240 * @since 11
241 */
242/**
243 * Defines the length property with number in units of lpx.
244 *
245 * @typedef { `${number}lpx` } LPX
246 * @syscap SystemCapability.ArkUI.ArkUI.Full
247 * @crossplatform
248 * @atomicservice
249 * @since 18
250 */
251declare type LPX = `${number}lpx`;
252
253/**
254 * Defines the length property with number in units of lpx.
255 *
256 * @typedef { string } LPX
257 * @syscap SystemCapability.ArkUI.ArkUI.Full
258 * @atomicservice
259 * @since 20
260 * @arkts 1.2
261 */
262declare type LPX = string;
263
264/**
265 * Defines the length property with number in units of Percentage.
266 *
267 * @typedef { `${number}%` } Percentage
268 * @syscap SystemCapability.ArkUI.ArkUI.Full
269 * @since 10
270 */
271/**
272 * Defines the length property with number in units of Percentage.
273 *
274 * @typedef { `${number}%` } Percentage
275 * @syscap SystemCapability.ArkUI.ArkUI.Full
276 * @atomicservice
277 * @since 11
278 */
279/**
280 * Defines the length property with number in units of Percentage.
281 *
282 * @typedef { `${number}%` } Percentage
283 * @syscap SystemCapability.ArkUI.ArkUI.Full
284 * @crossplatform
285 * @atomicservice
286 * @since 18
287 */
288declare type Percentage = `${number}%`;
289
290/**
291 * Defines the length property with number in units of Percentage.
292 *
293 * @typedef { string } Percentage
294 * @syscap SystemCapability.ArkUI.ArkUI.Full
295 * @atomicservice
296 * @since 20
297 * @arkts 1.2
298 */
299declare type Percentage = string;
300
301/**
302 * Defines the angle property with number in units of deg.
303 *
304 * @typedef { `${number}deg` } Degree
305 * @syscap SystemCapability.ArkUI.ArkUI.Full
306 * @since 10
307 */
308/**
309 * Defines the angle property with number in units of deg.
310 *
311 * @typedef { `${number}deg` } Degree
312 * @syscap SystemCapability.ArkUI.ArkUI.Full
313 * @atomicservice
314 * @since 11
315 */
316declare type Degree = `${number}deg`;
317
318/**
319 * Defines the angle property with number in units of deg.
320 *
321 * @typedef { string } Degree
322 * @syscap SystemCapability.ArkUI.ArkUI.Full
323 * @atomicservice
324 * @since 20
325 * @arkts 1.2
326 */
327declare type Degree = string;
328
329/**
330 * Defines the dimension property with number with units(vp|px|fp|lpx|%), and resource.
331 *
332 * @typedef { PX | VP | FP | LPX | Percentage | Resource } Dimension
333 * @syscap SystemCapability.ArkUI.ArkUI.Full
334 * @since 10
335 */
336/**
337 * Defines the dimension property with number with units(vp|px|fp|lpx|%), and resource.
338 *
339 * @typedef { PX | VP | FP | LPX | Percentage | Resource } Dimension
340 * @syscap SystemCapability.ArkUI.ArkUI.Full
341 * @atomicservice
342 * @since 11
343 */
344/**
345 * Defines the dimension property with number with units(vp|px|fp|lpx|%), and resource.
346 *
347 * @typedef { PX | VP | FP | LPX | Percentage | Resource } Dimension
348 * @syscap SystemCapability.ArkUI.ArkUI.Full
349 * @crossplatform
350 * @atomicservice
351 * @since arkts {'1.1':'18','1.2':'20'}
352 * @arkts 1.1&1.2
353 */
354declare type Dimension = PX | VP | FP | LPX | Percentage | Resource;
355
356/**
357 * Defines the string which can use resource.
358 *
359 * @typedef { string | Resource } ResourceStr
360 * @syscap SystemCapability.ArkUI.ArkUI.Full
361 * @since 7
362 */
363/**
364 * Defines the string which can use resource.
365 *
366 * @typedef { string | Resource } ResourceStr
367 * @syscap SystemCapability.ArkUI.ArkUI.Full
368 * @form
369 * @since 9
370 */
371/**
372 * Defines the string which can use resource.
373 *
374 * @typedef { string | Resource } ResourceStr
375 * @syscap SystemCapability.ArkUI.ArkUI.Full
376 * @crossplatform
377 * @form
378 * @since 10
379 */
380/**
381 * Defines the string which can use resource.
382 *
383 * @typedef { string | Resource } ResourceStr
384 * @syscap SystemCapability.ArkUI.ArkUI.Full
385 * @crossplatform
386 * @form
387 * @atomicservice
388 * @since arkts {'1.1':'11','1.2':'20'}
389 * @arkts 1.1&1.2
390 */
391declare type ResourceStr = string | Resource;
392
393/**
394 * Defines the padding property.
395 *
396 * @syscap SystemCapability.ArkUI.ArkUI.Full
397 * @since 7
398 */
399/**
400 * Defines the padding property.
401 *
402 * @syscap SystemCapability.ArkUI.ArkUI.Full
403 * @form
404 * @since 9
405 */
406/**
407 * Defines the padding property.
408 *
409 * @syscap SystemCapability.ArkUI.ArkUI.Full
410 * @crossplatform
411 * @form
412 * @since 10
413 */
414/**
415 * Defines the padding property.
416 *
417 * @typedef { object } Padding
418 * @syscap SystemCapability.ArkUI.ArkUI.Full
419 * @crossplatform
420 * @form
421 * @atomicservice
422 * @since 11
423 */
424/**
425 * Defines the padding property.
426 *
427 * Anonymous Object Rectification
428 * @typedef { object } Padding
429 * @syscap SystemCapability.ArkUI.ArkUI.Full
430 * @crossplatform
431 * @form
432 * @atomicservice
433 * @since 20
434 * @arkts 1.1&1.2
435 */
436declare interface Padding {
437  /**
438   * top property.
439   *
440   * @type { ?Length }
441   * @syscap SystemCapability.ArkUI.ArkUI.Full
442   * @since 7
443   */
444  /**
445   * top property.
446   *
447   * @type { ?Length }
448   * @syscap SystemCapability.ArkUI.ArkUI.Full
449   * @since 9
450   * @form
451   */
452  /**
453   * top property.
454   *
455   * @type { ?Length }
456   * @syscap SystemCapability.ArkUI.ArkUI.Full
457   * @crossplatform
458   * @since 10
459   * @form
460   */
461  /**
462   * top property.
463   *
464   * @type { ?Length }
465   * @syscap SystemCapability.ArkUI.ArkUI.Full
466   * @crossplatform
467   * @atomicservice
468   * @since arkts {'1.1':'11','1.2':'20'}
469   * @arkts 1.1&1.2
470   * @form
471   */
472  top?: Length;
473
474  /**
475   * right property.
476   *
477   * @type { ?Length }
478   * @syscap SystemCapability.ArkUI.ArkUI.Full
479   * @since 7
480   */
481  /**
482   * right property.
483   *
484   * @type { ?Length }
485   * @syscap SystemCapability.ArkUI.ArkUI.Full
486   * @since 9
487   * @form
488   */
489  /**
490   * right property.
491   *
492   * @type { ?Length }
493   * @syscap SystemCapability.ArkUI.ArkUI.Full
494   * @crossplatform
495   * @since 10
496   * @form
497   */
498  /**
499   * right property.
500   *
501   * @type { ?Length }
502   * @syscap SystemCapability.ArkUI.ArkUI.Full
503   * @crossplatform
504   * @atomicservice
505   * @since arkts {'1.1':'11','1.2':'20'}
506   * @arkts 1.1&1.2
507   * @form
508   */
509  right?: Length;
510
511  /**
512   * bottom property.
513   *
514   * @type { ?Length }
515   * @syscap SystemCapability.ArkUI.ArkUI.Full
516   * @since 7
517   */
518  /**
519   * bottom property.
520   *
521   * @type { ?Length }
522   * @syscap SystemCapability.ArkUI.ArkUI.Full
523   * @since 9
524   * @form
525   */
526  /**
527   * bottom property.
528   *
529   * @type { ?Length }
530   * @syscap SystemCapability.ArkUI.ArkUI.Full
531   * @crossplatform
532   * @since 10
533   * @form
534   */
535  /**
536   * bottom property.
537   *
538   * @type { ?Length }
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   * @form
545   */
546  bottom?: Length;
547
548  /**
549   * left property.
550   *
551   * @type { ?Length }
552   * @syscap SystemCapability.ArkUI.ArkUI.Full
553   * @since 7
554   */
555  /**
556   * left property.
557   *
558   * @type { ?Length }
559   * @syscap SystemCapability.ArkUI.ArkUI.Full
560   * @since 9
561   * @form
562   */
563  /**
564   * left property.
565   *
566   * @type { ?Length }
567   * @syscap SystemCapability.ArkUI.ArkUI.Full
568   * @crossplatform
569   * @since 10
570   * @form
571   */
572  /**
573   * left property.
574   *
575   * @type { ?Length }
576   * @syscap SystemCapability.ArkUI.ArkUI.Full
577   * @crossplatform
578   * @atomicservice
579   * @since arkts {'1.1':'11','1.2':'20'}
580   * @arkts 1.1&1.2
581   * @form
582   */
583  left?: Length;
584};
585
586/**
587 * Defines the localized padding property.
588 *
589 * @interface LocalizedPadding
590 * @syscap SystemCapability.ArkUI.ArkUI.Full
591 * @crossplatform
592 * @form
593 * @atomicservice
594 * @since arkts {'1.1':'12','1.2':'20'}
595 * @arkts 1.1&1.2
596 */
597declare interface LocalizedPadding {
598  /**
599   * top property.
600   *
601   * @type { ?LengthMetrics }
602   * @syscap SystemCapability.ArkUI.ArkUI.Full
603   * @crossplatform
604   * @form
605   * @atomicservice
606   * @since arkts {'1.1':'12','1.2':'20'}
607   * @arkts 1.1&1.2
608   */
609  top?: LengthMetrics;
610
611  /**
612   * end property.
613   *
614   * @type { ?LengthMetrics }
615   * @syscap SystemCapability.ArkUI.ArkUI.Full
616   * @crossplatform
617   * @form
618   * @atomicservice
619   * @since arkts {'1.1':'12','1.2':'20'}
620   * @arkts 1.1&1.2
621   */
622  end?: LengthMetrics;
623
624  /**
625   * bottom property.
626   *
627   * @type { ?LengthMetrics }
628   * @syscap SystemCapability.ArkUI.ArkUI.Full
629   * @crossplatform
630   * @form
631   * @atomicservice
632   * @since arkts {'1.1':'12','1.2':'20'}
633   * @arkts 1.1&1.2
634   */
635  bottom?: LengthMetrics;
636
637  /**
638   * start property.
639   *
640   * @type { ?LengthMetrics }
641   * @syscap SystemCapability.ArkUI.ArkUI.Full
642   * @crossplatform
643   * @form
644   * @atomicservice
645   * @since arkts {'1.1':'12','1.2':'20'}
646   * @arkts 1.1&1.2
647   */
648  start?: LengthMetrics;
649};
650
651/**
652 * Defines the margin property.
653 *
654 * @typedef { Padding } Margin
655 * @syscap SystemCapability.ArkUI.ArkUI.Full
656 * @since 7
657 */
658/**
659 * Defines the margin property.
660 *
661 * @typedef { Padding } Margin
662 * @syscap SystemCapability.ArkUI.ArkUI.Full
663 * @form
664 * @since 9
665 */
666/**
667 * Defines the margin property.
668 *
669 * @typedef { Padding } Margin
670 * @syscap SystemCapability.ArkUI.ArkUI.Full
671 * @crossplatform
672 * @form
673 * @since 10
674 */
675/**
676 * Defines the margin property.
677 *
678 * @typedef { Padding } Margin
679 * @syscap SystemCapability.ArkUI.ArkUI.Full
680 * @crossplatform
681 * @form
682 * @atomicservice
683 * @since arkts {'1.1':'11','1.2':'20'}
684 * @arkts 1.1&1.2
685 */
686declare type Margin = Padding;
687
688/**
689 * Defines the border width property.
690 *
691 * @typedef { EdgeWidths } EdgeWidth
692 * @syscap SystemCapability.ArkUI.ArkUI.Full
693 * @crossplatform
694 * @since 10
695 */
696/**
697 * Defines the border width property.
698 *
699 * @typedef { EdgeWidths } EdgeWidth
700 * @syscap SystemCapability.ArkUI.ArkUI.Full
701 * @crossplatform
702 * @atomicservice
703 * @since arkts {'1.1':'11','1.2':'20'}
704 * @arkts 1.1&1.2
705 */
706declare type EdgeWidth = EdgeWidths;
707
708/**
709 * Defines the border width property.
710 *
711 * @typedef { object } EdgeWidths
712 * @syscap SystemCapability.ArkUI.ArkUI.Full
713 * @form
714 * @since 9
715 */
716/**
717 * Defines the border width property.
718 *
719 * @typedef { object } EdgeWidths
720 * @syscap SystemCapability.ArkUI.ArkUI.Full
721 * @crossplatform
722 * @form
723 * @since 10
724 */
725/**
726 * Defines the border width property.
727 *
728 * @typedef { object } EdgeWidths
729 * @syscap SystemCapability.ArkUI.ArkUI.Full
730 * @crossplatform
731 * @form
732 * @atomicservice
733 * @since 11
734 */
735/**
736 * Defines the border width property.
737 *
738 * Anonymous Object Rectification
739 * @typedef { object } EdgeWidths
740 * @syscap SystemCapability.ArkUI.ArkUI.Full
741 * @crossplatform
742 * @form
743 * @atomicservice
744 * @since 20
745 * @arkts 1.1&1.2
746 */
747declare interface EdgeWidths {
748  /**
749   * top property.
750   *
751   * @type { ?Length }
752   * @syscap SystemCapability.ArkUI.ArkUI.Full
753   * @since 9
754   * @form
755   */
756  /**
757   * top property.
758   *
759   * @type { ?Length }
760   * @syscap SystemCapability.ArkUI.ArkUI.Full
761   * @crossplatform
762   * @since 10
763   * @form
764   */
765  /**
766   * top property.
767   *
768   * @type { ?Length }
769   * @syscap SystemCapability.ArkUI.ArkUI.Full
770   * @crossplatform
771   * @atomicservice
772   * @since arkts {'1.1':'11','1.2':'20'}
773   * @arkts 1.1&1.2
774   * @form
775   */
776  top?: Length;
777
778  /**
779   * right property.
780   *
781   * @type { ?Length }
782   * @syscap SystemCapability.ArkUI.ArkUI.Full
783   * @since 9
784   * @form
785   */
786  /**
787   * right property.
788   *
789   * @type { ?Length }
790   * @syscap SystemCapability.ArkUI.ArkUI.Full
791   * @crossplatform
792   * @since 10
793   * @form
794   */
795  /**
796   * right property.
797   *
798   * @type { ?Length }
799   * @syscap SystemCapability.ArkUI.ArkUI.Full
800   * @crossplatform
801   * @atomicservice
802   * @since arkts {'1.1':'11','1.2':'20'}
803   * @arkts 1.1&1.2
804   * @form
805   */
806  right?: Length;
807
808  /**
809   * bottom property.
810   *
811   * @type { ?Length }
812   * @syscap SystemCapability.ArkUI.ArkUI.Full
813   * @since 9
814   * @form
815   */
816  /**
817   * bottom property.
818   *
819   * @type { ?Length }
820   * @syscap SystemCapability.ArkUI.ArkUI.Full
821   * @crossplatform
822   * @since 10
823   * @form
824   */
825  /**
826   * bottom property.
827   *
828   * @type { ?Length }
829   * @syscap SystemCapability.ArkUI.ArkUI.Full
830   * @crossplatform
831   * @atomicservice
832   * @since arkts {'1.1':'11','1.2':'20'}
833   * @arkts 1.1&1.2
834   * @form
835   */
836  bottom?: Length;
837
838  /**
839   * left property.
840   *
841   * @type { ?Length }
842   * @syscap SystemCapability.ArkUI.ArkUI.Full
843   * @since 9
844   * @form
845   */
846  /**
847   * left property.
848   *
849   * @type { ?Length }
850   * @syscap SystemCapability.ArkUI.ArkUI.Full
851   * @crossplatform
852   * @since 10
853   * @form
854   */
855  /**
856   * left property.
857   *
858   * @type { ?Length }
859   * @syscap SystemCapability.ArkUI.ArkUI.Full
860   * @crossplatform
861   * @atomicservice
862   * @since arkts {'1.1':'11','1.2':'20'}
863   * @arkts 1.1&1.2
864   * @form
865   */
866  left?: Length;
867};
868
869/**
870 * Defines the localized border width property.
871 *
872 * @interface LocalizedEdgeWidths
873 * @syscap SystemCapability.ArkUI.ArkUI.Full
874 * @crossplatform
875 * @form
876 * @atomicservice
877 * @since arkts {'1.1':'12','1.2':'20'}
878 * @arkts 1.1&1.2
879 */
880declare interface LocalizedEdgeWidths {
881  /**
882   * top property.
883   *
884   * @type { ?LengthMetrics }
885   * @syscap SystemCapability.ArkUI.ArkUI.Full
886   * @crossplatform
887   * @form
888   * @atomicservice
889   * @since arkts {'1.1':'12','1.2':'20'}
890   * @arkts 1.1&1.2
891   */
892  top?: LengthMetrics;
893
894  /**
895   * end property.
896   *
897   * @type { ?LengthMetrics }
898   * @syscap SystemCapability.ArkUI.ArkUI.Full
899   * @crossplatform
900   * @form
901   * @atomicservice
902   * @since arkts {'1.1':'12','1.2':'20'}
903   * @arkts 1.1&1.2
904   */
905  end?: LengthMetrics;
906
907  /**
908   * bottom property.
909   *
910   * @type { ?LengthMetrics }
911   * @syscap SystemCapability.ArkUI.ArkUI.Full
912   * @crossplatform
913   * @form
914   * @atomicservice
915   * @since arkts {'1.1':'12','1.2':'20'}
916   * @arkts 1.1&1.2
917   */
918  bottom?: LengthMetrics;
919
920  /**
921   * start property.
922   *
923   * @type { ?LengthMetrics }
924   * @syscap SystemCapability.ArkUI.ArkUI.Full
925   * @crossplatform
926   * @form
927   * @atomicservice
928   * @since arkts {'1.1':'12','1.2':'20'}
929   * @arkts 1.1&1.2
930   */
931  start?: LengthMetrics;
932};
933
934/**
935 * Defines the outline width property.
936 *
937 * @syscap SystemCapability.ArkUI.ArkUI.Full
938 * @crossplatform
939 * @form
940 * @since 11
941 */
942/**
943 * Defines the outline width property.
944 *
945 * @typedef { object } EdgeOutlineWidths
946 * @syscap SystemCapability.ArkUI.ArkUI.Full
947 * @crossplatform
948 * @form
949 * @atomicservice
950 * @since 12
951 */
952/**
953 * Defines the outline width property.
954 *
955 * @interface EdgeOutlineWidths
956 * @syscap SystemCapability.ArkUI.ArkUI.Full
957 * @crossplatform
958 * @form
959 * @atomicservice
960 * @since 20
961 * @arkts 1.1&1.2
962 */
963declare interface EdgeOutlineWidths {
964  /**
965   * top outline width property.
966   *
967   * @type { ?Dimension }
968   * @syscap SystemCapability.ArkUI.ArkUI.Full
969   * @crossplatform
970   * @since 11
971   * @form
972   */
973  /**
974   * top outline width property.
975   *
976   * @type { ?Dimension }
977   * @syscap SystemCapability.ArkUI.ArkUI.Full
978   * @crossplatform
979   * @form
980   * @atomicservice
981   * @since arkts {'1.1':'12','1.2':'20'}
982   * @arkts 1.1&1.2
983   */
984  top?: Dimension;
985
986  /**
987   * right outline width property.
988   *
989   * @type { ?Dimension }
990   * @syscap SystemCapability.ArkUI.ArkUI.Full
991   * @crossplatform
992   * @since 11
993   * @form
994   */
995  /**
996   * right outline width property.
997   *
998   * @type { ?Dimension }
999   * @syscap SystemCapability.ArkUI.ArkUI.Full
1000   * @crossplatform
1001   * @form
1002   * @atomicservice
1003   * @since arkts {'1.1':'12','1.2':'20'}
1004   * @arkts 1.1&1.2
1005   */
1006  right?: Dimension;
1007
1008  /**
1009   * bottom outline width property.
1010   *
1011   * @type { ?Dimension }
1012   * @syscap SystemCapability.ArkUI.ArkUI.Full
1013   * @crossplatform
1014   * @since 11
1015   * @form
1016   */
1017  /**
1018   * bottom outline width property.
1019   *
1020   * @type { ?Dimension }
1021   * @syscap SystemCapability.ArkUI.ArkUI.Full
1022   * @crossplatform
1023   * @form
1024   * @atomicservice
1025   * @since arkts {'1.1':'12','1.2':'20'}
1026   * @arkts 1.1&1.2
1027   */
1028  bottom?: Dimension;
1029
1030  /**
1031   * left outline width property.
1032   *
1033   * @type { ?Dimension }
1034   * @syscap SystemCapability.ArkUI.ArkUI.Full
1035   * @crossplatform
1036   * @since 11
1037   * @form
1038   */
1039  /**
1040   * left outline width property.
1041   *
1042   * @type { ?Dimension }
1043   * @syscap SystemCapability.ArkUI.ArkUI.Full
1044   * @crossplatform
1045   * @form
1046   * @atomicservice
1047   * @since arkts {'1.1':'12','1.2':'20'}
1048   * @arkts 1.1&1.2
1049   */
1050  left?: Dimension;
1051};
1052
1053/**
1054 * Defines the border radius property.
1055 *
1056 * @typedef { object } BorderRadiuses
1057 * @syscap SystemCapability.ArkUI.ArkUI.Full
1058 * @form
1059 * @since 9
1060 */
1061/**
1062 * Defines the border radius property.
1063 *
1064 * @typedef { object } BorderRadiuses
1065 * @syscap SystemCapability.ArkUI.ArkUI.Full
1066 * @crossplatform
1067 * @form
1068 * @since 10
1069 */
1070/**
1071 * Defines the border radius property.
1072 *
1073 * @typedef { object } BorderRadiuses
1074 * @syscap SystemCapability.ArkUI.ArkUI.Full
1075 * @crossplatform
1076 * @form
1077 * @atomicservice
1078 * @since 11
1079 */
1080/**
1081 * Defines the border radius property.
1082 *
1083 * Anonymous Object Rectification
1084 * @typedef { object } BorderRadiuses
1085 * @syscap SystemCapability.ArkUI.ArkUI.Full
1086 * @crossplatform
1087 * @form
1088 * @atomicservice
1089 * @since 20
1090 * @arkts 1.1&1.2
1091 */
1092declare interface BorderRadiuses {
1093  /**
1094   * top-left property.
1095   *
1096   * @type { ?Length }
1097   * @syscap SystemCapability.ArkUI.ArkUI.Full
1098   * @since 9
1099   * @form
1100   */
1101  /**
1102   * top-left property.
1103   *
1104   * @type { ?Length }
1105   * @syscap SystemCapability.ArkUI.ArkUI.Full
1106   * @crossplatform
1107   * @since 10
1108   * @form
1109   */
1110  /**
1111   * top-left property.
1112   *
1113   * @type { ?Length }
1114   * @syscap SystemCapability.ArkUI.ArkUI.Full
1115   * @crossplatform
1116   * @atomicservice
1117   * @since arkts {'1.1':'11','1.2':'20'}
1118   * @arkts 1.1&1.2
1119   * @form
1120   */
1121  topLeft?: Length;
1122
1123  /**
1124   * top-right property.
1125   *
1126   * @type { ?Length }
1127   * @syscap SystemCapability.ArkUI.ArkUI.Full
1128   * @since 9
1129   * @form
1130   */
1131  /**
1132   * top-right property.
1133   *
1134   * @type { ?Length }
1135   * @syscap SystemCapability.ArkUI.ArkUI.Full
1136   * @crossplatform
1137   * @since 10
1138   * @form
1139   */
1140  /**
1141   * top-right property.
1142   *
1143   * @type { ?Length }
1144   * @syscap SystemCapability.ArkUI.ArkUI.Full
1145   * @crossplatform
1146   * @atomicservice
1147   * @since arkts {'1.1':'11','1.2':'20'}
1148   * @arkts 1.1&1.2
1149   * @form
1150   */
1151  topRight?: Length;
1152
1153  /**
1154   * bottom-left property.
1155   *
1156   * @type { ?Length }
1157   * @syscap SystemCapability.ArkUI.ArkUI.Full
1158   * @since 9
1159   * @form
1160   */
1161  /**
1162   * bottom-left property.
1163   *
1164   * @type { ?Length }
1165   * @syscap SystemCapability.ArkUI.ArkUI.Full
1166   * @crossplatform
1167   * @since 10
1168   * @form
1169   */
1170  /**
1171   * bottom-left property.
1172   *
1173   * @type { ?Length }
1174   * @syscap SystemCapability.ArkUI.ArkUI.Full
1175   * @crossplatform
1176   * @atomicservice
1177   * @since arkts {'1.1':'11','1.2':'20'}
1178   * @arkts 1.1&1.2
1179   * @form
1180   */
1181  bottomLeft?: Length;
1182
1183  /**
1184   * bottom-right property.
1185   *
1186   * @type { ?Length }
1187   * @syscap SystemCapability.ArkUI.ArkUI.Full
1188   * @since 9
1189   * @form
1190   */
1191  /**
1192   * bottom-right property.
1193   *
1194   * @type { ?Length }
1195   * @syscap SystemCapability.ArkUI.ArkUI.Full
1196   * @crossplatform
1197   * @since 10
1198   * @form
1199   */
1200  /**
1201   * bottom-right property.
1202   *
1203   * @type { ?Length }
1204   * @syscap SystemCapability.ArkUI.ArkUI.Full
1205   * @crossplatform
1206   * @atomicservice
1207   * @since arkts {'1.1':'11','1.2':'20'}
1208   * @arkts 1.1&1.2
1209   * @form
1210   */
1211  bottomRight?: Length;
1212};
1213
1214/**
1215 * Defines the localized border radius property.
1216 *
1217 * @interface LocalizedBorderRadiuses
1218 * @syscap SystemCapability.ArkUI.ArkUI.Full
1219 * @crossplatform
1220 * @form
1221 * @atomicservice
1222 * @since arkts {'1.1':'12','1.2':'20'}
1223 * @arkts 1.1&1.2
1224 */
1225declare interface LocalizedBorderRadiuses  {
1226  /**
1227   * top-start property.
1228   *
1229   * @type { ?LengthMetrics }
1230   * @syscap SystemCapability.ArkUI.ArkUI.Full
1231   * @crossplatform
1232   * @form
1233   * @atomicservice
1234   * @since arkts {'1.1':'12','1.2':'20'}
1235   * @arkts 1.1&1.2
1236   */
1237  topStart?: LengthMetrics;
1238
1239  /**
1240   * top-end property.
1241   *
1242   * @type { ?LengthMetrics }
1243   * @syscap SystemCapability.ArkUI.ArkUI.Full
1244   * @crossplatform
1245   * @form
1246   * @atomicservice
1247   * @since arkts {'1.1':'12','1.2':'20'}
1248   * @arkts 1.1&1.2
1249   */
1250  topEnd?: LengthMetrics;
1251
1252  /**
1253   * bottom-start property.
1254   *
1255   * @type { ?LengthMetrics }
1256   * @syscap SystemCapability.ArkUI.ArkUI.Full
1257   * @crossplatform
1258   * @form
1259   * @atomicservice
1260   * @since arkts {'1.1':'12','1.2':'20'}
1261   * @arkts 1.1&1.2
1262   */
1263  bottomStart?: LengthMetrics;
1264
1265  /**
1266   * bottom-end property.
1267   *
1268   * @type { ?LengthMetrics }
1269   * @syscap SystemCapability.ArkUI.ArkUI.Full
1270   * @crossplatform
1271   * @form
1272   * @atomicservice
1273   * @since arkts {'1.1':'12','1.2':'20'}
1274   * @arkts 1.1&1.2
1275   */
1276  bottomEnd?: LengthMetrics;
1277};
1278
1279/**
1280 * Defines the outline radius property.
1281 *
1282 * @typedef { object } OutlineRadiuses
1283 * @syscap SystemCapability.ArkUI.ArkUI.Full
1284 * @crossplatform
1285 * @form
1286 * @since 11
1287 */
1288/**
1289 * Defines the outline radius property.
1290 *
1291 * @typedef { object } OutlineRadiuses
1292 * @syscap SystemCapability.ArkUI.ArkUI.Full
1293 * @crossplatform
1294 * @form
1295 * @atomicservice
1296 * @since 12
1297 */
1298/**
1299 * Defines the outline radius property.
1300 *
1301 * @interface OutlineRadiuses
1302 * @syscap SystemCapability.ArkUI.ArkUI.Full
1303 * @crossplatform
1304 * @form
1305 * @atomicservice
1306 * @since 20
1307 * @arkts 1.1&1.2
1308 */
1309declare interface OutlineRadiuses {
1310  /**
1311   * top-left property.
1312   *
1313   * @type { ?Dimension }
1314   * @syscap SystemCapability.ArkUI.ArkUI.Full
1315   * @crossplatform
1316   * @since 11
1317   * @form
1318   */
1319  /**
1320   * top-left property.
1321   *
1322   * @type { ?Dimension }
1323   * @syscap SystemCapability.ArkUI.ArkUI.Full
1324   * @crossplatform
1325   * @form
1326   * @atomicservice
1327   * @since arkts {'1.1':'12','1.2':'20'}
1328   * @arkts 1.1&1.2
1329   */
1330  topLeft?: Dimension;
1331
1332  /**
1333   * top-right property.
1334   *
1335   * @type { ?Dimension }
1336   * @syscap SystemCapability.ArkUI.ArkUI.Full
1337   * @crossplatform
1338   * @since 11
1339   * @form
1340   */
1341  /**
1342   * top-right property.
1343   *
1344   * @type { ?Dimension }
1345   * @syscap SystemCapability.ArkUI.ArkUI.Full
1346   * @crossplatform
1347   * @form
1348   * @atomicservice
1349   * @since arkts {'1.1':'12','1.2':'20'}
1350   * @arkts 1.1&1.2
1351   */
1352  topRight?: Dimension;
1353
1354  /**
1355   * bottom-left property.
1356   *
1357   * @type { ?Dimension }
1358   * @syscap SystemCapability.ArkUI.ArkUI.Full
1359   * @crossplatform
1360   * @since 11
1361   * @form
1362   */
1363  /**
1364   * bottom-left property.
1365   *
1366   * @type { ?Dimension }
1367   * @syscap SystemCapability.ArkUI.ArkUI.Full
1368   * @crossplatform
1369   * @form
1370   * @atomicservice
1371   * @since arkts {'1.1':'12','1.2':'20'}
1372   * @arkts 1.1&1.2
1373   */
1374  bottomLeft?: Dimension;
1375
1376  /**
1377   * bottom-right property.
1378   *
1379   * @type { ?Dimension }
1380   * @syscap SystemCapability.ArkUI.ArkUI.Full
1381   * @crossplatform
1382   * @since 11
1383   * @form
1384   */
1385  /**
1386   * bottom-right property.
1387   *
1388   * @type { ?Dimension }
1389   * @syscap SystemCapability.ArkUI.ArkUI.Full
1390   * @crossplatform
1391   * @form
1392   * @atomicservice
1393   * @since arkts {'1.1':'12','1.2':'20'}
1394   * @arkts 1.1&1.2
1395   */
1396  bottomRight?: Dimension;
1397};
1398
1399/**
1400 * Defines the border color property.
1401 *
1402 * @typedef { object } EdgeColors
1403 * @syscap SystemCapability.ArkUI.ArkUI.Full
1404 * @form
1405 * @since 9
1406 */
1407/**
1408 * Defines the border color property.
1409 *
1410 * @typedef { object } EdgeColors
1411 * @syscap SystemCapability.ArkUI.ArkUI.Full
1412 * @crossplatform
1413 * @form
1414 * @since 10
1415 */
1416/**
1417 * Defines the border color property.
1418 *
1419 * @typedef { object } EdgeColors
1420 * @syscap SystemCapability.ArkUI.ArkUI.Full
1421 * @crossplatform
1422 * @form
1423 * @atomicservice
1424 * @since 11
1425 */
1426/**
1427 * Defines the border color property.
1428 *
1429 * Anonymous Object Rectification
1430 * @typedef { object } EdgeColors
1431 * @syscap SystemCapability.ArkUI.ArkUI.Full
1432 * @crossplatform
1433 * @form
1434 * @atomicservice
1435 * @since 20
1436 * @arkts 1.1&1.2
1437 */
1438declare interface EdgeColors {
1439  /**
1440   * top property.
1441   *
1442   * @type { ?ResourceColor }
1443   * @syscap SystemCapability.ArkUI.ArkUI.Full
1444   * @since 9
1445   * @form
1446   */
1447  /**
1448   * top property.
1449   *
1450   * @type { ?ResourceColor }
1451   * @syscap SystemCapability.ArkUI.ArkUI.Full
1452   * @crossplatform
1453   * @since 10
1454   * @form
1455   */
1456  /**
1457   * top property.
1458   *
1459   * @type { ?ResourceColor }
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   * @form
1466   */
1467  top?: ResourceColor;
1468
1469  /**
1470   * right property.
1471   *
1472   * @type { ?ResourceColor }
1473   * @syscap SystemCapability.ArkUI.ArkUI.Full
1474   * @since 9
1475   * @form
1476   */
1477  /**
1478   * right property.
1479   *
1480   * @type { ?ResourceColor }
1481   * @syscap SystemCapability.ArkUI.ArkUI.Full
1482   * @crossplatform
1483   * @since 10
1484   * @form
1485   */
1486  /**
1487   * right property.
1488   *
1489   * @type { ?ResourceColor }
1490   * @syscap SystemCapability.ArkUI.ArkUI.Full
1491   * @crossplatform
1492   * @atomicservice
1493   * @since arkts {'1.1':'11','1.2':'20'}
1494   * @arkts 1.1&1.2
1495   * @form
1496   */
1497  right?: ResourceColor;
1498
1499  /**
1500   * bottom property.
1501   *
1502   * @type { ?ResourceColor }
1503   * @syscap SystemCapability.ArkUI.ArkUI.Full
1504   * @since 9
1505   * @form
1506   */
1507  /**
1508   * bottom property.
1509   *
1510   * @type { ?ResourceColor }
1511   * @syscap SystemCapability.ArkUI.ArkUI.Full
1512   * @crossplatform
1513   * @since 10
1514   * @form
1515   */
1516  /**
1517   * bottom property.
1518   *
1519   * @type { ?ResourceColor }
1520   * @syscap SystemCapability.ArkUI.ArkUI.Full
1521   * @crossplatform
1522   * @atomicservice
1523   * @since arkts {'1.1':'11','1.2':'20'}
1524   * @arkts 1.1&1.2
1525   * @form
1526   */
1527  bottom?: ResourceColor;
1528
1529  /**
1530   * left property.
1531   *
1532   * @type { ?ResourceColor }
1533   * @syscap SystemCapability.ArkUI.ArkUI.Full
1534   * @since 9
1535   * @form
1536   */
1537  /**
1538   * left property.
1539   *
1540   * @type { ?ResourceColor }
1541   * @syscap SystemCapability.ArkUI.ArkUI.Full
1542   * @crossplatform
1543   * @since 10
1544   * @form
1545   */
1546  /**
1547   * left property.
1548   *
1549   * @type { ?ResourceColor }
1550   * @syscap SystemCapability.ArkUI.ArkUI.Full
1551   * @crossplatform
1552   * @atomicservice
1553   * @since arkts {'1.1':'11','1.2':'20'}
1554   * @arkts 1.1&1.2
1555   * @form
1556   */
1557  left?: ResourceColor;
1558};
1559
1560/**
1561 * Defines the localized border color property.
1562 *
1563 * @interface LocalizedEdgeColors
1564 * @syscap SystemCapability.ArkUI.ArkUI.Full
1565 * @crossplatform
1566 * @form
1567 * @atomicservice
1568 * @since arkts {'1.1':'12','1.2':'20'}
1569 * @arkts 1.1&1.2
1570 */
1571declare interface LocalizedEdgeColors  {
1572  /**
1573   * top property.
1574   *
1575   * @type { ?ResourceColor }
1576   * @syscap SystemCapability.ArkUI.ArkUI.Full
1577   * @crossplatform
1578   * @form
1579   * @atomicservice
1580   * @since arkts {'1.1':'12','1.2':'20'}
1581   * @arkts 1.1&1.2
1582   */
1583  top?: ResourceColor;
1584
1585  /**
1586   * end property.
1587   *
1588   * @type { ?ResourceColor }
1589   * @syscap SystemCapability.ArkUI.ArkUI.Full
1590   * @crossplatform
1591   * @form
1592   * @atomicservice
1593   * @since arkts {'1.1':'12','1.2':'20'}
1594   * @arkts 1.1&1.2
1595   */
1596  end?: ResourceColor;
1597
1598  /**
1599   * bottom property.
1600   *
1601   * @type { ?ResourceColor }
1602   * @syscap SystemCapability.ArkUI.ArkUI.Full
1603   * @crossplatform
1604   * @form
1605   * @atomicservice
1606   * @since arkts {'1.1':'12','1.2':'20'}
1607   * @arkts 1.1&1.2
1608   */
1609  bottom?: ResourceColor;
1610
1611  /**
1612   * start property.
1613   *
1614   * @type { ?ResourceColor }
1615   * @syscap SystemCapability.ArkUI.ArkUI.Full
1616   * @crossplatform
1617   * @form
1618   * @atomicservice
1619   * @since arkts {'1.1':'12','1.2':'20'}
1620   * @arkts 1.1&1.2
1621   */
1622  start?: ResourceColor;
1623};
1624
1625/**
1626 * Defines the localized margin property.
1627 *
1628 * @typedef { LocalizedPadding } LocalizedMargin
1629 * @syscap SystemCapability.ArkUI.ArkUI.Full
1630 * @crossplatform
1631 * @form
1632 * @atomicservice
1633 * @since arkts {'1.1':'12','1.2':'20'}
1634 * @arkts 1.1&1.2
1635*/
1636declare type LocalizedMargin = LocalizedPadding;
1637
1638/**
1639 * Defines the border style property.
1640 *
1641 * @typedef { object } EdgeStyles
1642 * @syscap SystemCapability.ArkUI.ArkUI.Full
1643 * @form
1644 * @since 9
1645 */
1646/**
1647 * Defines the border style property.
1648 *
1649 * @typedef { object } EdgeStyles
1650 * @syscap SystemCapability.ArkUI.ArkUI.Full
1651 * @crossplatform
1652 * @form
1653 * @since 10
1654 */
1655/**
1656 * Defines the border style property.
1657 *
1658 * @typedef { object } EdgeStyles
1659 * @syscap SystemCapability.ArkUI.ArkUI.Full
1660 * @crossplatform
1661 * @form
1662 * @atomicservice
1663 * @since 11
1664 */
1665/**
1666 * Defines the border style property.
1667 *
1668 * Anonymous Object Rectification
1669 * @typedef { object } EdgeStyles
1670 * @syscap SystemCapability.ArkUI.ArkUI.Full
1671 * @crossplatform
1672 * @form
1673 * @atomicservice
1674 * @since 20
1675 * @arkts 1.1&1.2
1676 */
1677declare interface EdgeStyles {
1678  /**
1679   * top property.
1680   *
1681   * @type { ?BorderStyle }
1682   * @syscap SystemCapability.ArkUI.ArkUI.Full
1683   * @since 9
1684   * @form
1685   */
1686  /**
1687   * top property.
1688   *
1689   * @type { ?BorderStyle }
1690   * @syscap SystemCapability.ArkUI.ArkUI.Full
1691   * @crossplatform
1692   * @since 10
1693   * @form
1694   */
1695  /**
1696   * top property.
1697   *
1698   * @type { ?BorderStyle }
1699   * @syscap SystemCapability.ArkUI.ArkUI.Full
1700   * @crossplatform
1701   * @atomicservice
1702   * @since arkts {'1.1':'11','1.2':'20'}
1703   * @arkts 1.1&1.2
1704   * @form
1705   */
1706  top?: BorderStyle;
1707
1708  /**
1709   * right property.
1710   *
1711   * @type { ?BorderStyle }
1712   * @syscap SystemCapability.ArkUI.ArkUI.Full
1713   * @since 9
1714   * @form
1715   */
1716  /**
1717   * right property.
1718   *
1719   * @type { ?BorderStyle }
1720   * @syscap SystemCapability.ArkUI.ArkUI.Full
1721   * @crossplatform
1722   * @since 10
1723   * @form
1724   */
1725  /**
1726   * right property.
1727   *
1728   * @type { ?BorderStyle }
1729   * @syscap SystemCapability.ArkUI.ArkUI.Full
1730   * @crossplatform
1731   * @atomicservice
1732   * @since arkts {'1.1':'11','1.2':'20'}
1733   * @arkts 1.1&1.2
1734   * @form
1735   */
1736  right?: BorderStyle;
1737
1738  /**
1739   * bottom property.
1740   *
1741   * @type { ?BorderStyle }
1742   * @syscap SystemCapability.ArkUI.ArkUI.Full
1743   * @since 9
1744   * @form
1745   */
1746  /**
1747   * bottom property.
1748   *
1749   * @type { ?BorderStyle }
1750   * @syscap SystemCapability.ArkUI.ArkUI.Full
1751   * @crossplatform
1752   * @since 10
1753   * @form
1754   */
1755  /**
1756   * bottom property.
1757   *
1758   * @type { ?BorderStyle }
1759   * @syscap SystemCapability.ArkUI.ArkUI.Full
1760   * @crossplatform
1761   * @atomicservice
1762   * @since arkts {'1.1':'11','1.2':'20'}
1763   * @arkts 1.1&1.2
1764   * @form
1765   */
1766  bottom?: BorderStyle;
1767
1768  /**
1769   * left property.
1770   *
1771   * @type { ?BorderStyle }
1772   * @syscap SystemCapability.ArkUI.ArkUI.Full
1773   * @since 9
1774   * @form
1775   */
1776  /**
1777   * left property.
1778   *
1779   * @type { ?BorderStyle }
1780   * @syscap SystemCapability.ArkUI.ArkUI.Full
1781   * @crossplatform
1782   * @since 10
1783   * @form
1784   */
1785  /**
1786   * left property.
1787   *
1788   * @type { ?BorderStyle }
1789   * @syscap SystemCapability.ArkUI.ArkUI.Full
1790   * @crossplatform
1791   * @atomicservice
1792   * @since arkts {'1.1':'11','1.2':'20'}
1793   * @arkts 1.1&1.2
1794   * @form
1795   */
1796  left?: BorderStyle;
1797};
1798
1799/**
1800 * Defines the outline style property.
1801 *
1802 * @typedef { object } EdgeOutlineStyles
1803 * @syscap SystemCapability.ArkUI.ArkUI.Full
1804 * @crossplatform
1805 * @form
1806 * @since 11
1807 */
1808/**
1809 * Defines the outline style property.
1810 *
1811 * @typedef { object } EdgeOutlineStyles
1812 * @syscap SystemCapability.ArkUI.ArkUI.Full
1813 * @crossplatform
1814 * @form
1815 * @atomicservice
1816 * @since 12
1817 */
1818/**
1819 * Defines the outline style property.
1820 *
1821 * @interface EdgeOutlineStyles
1822 * @syscap SystemCapability.ArkUI.ArkUI.Full
1823 * @crossplatform
1824 * @form
1825 * @atomicservice
1826 * @since 20
1827 * @arkts 1.1&1.2
1828 */
1829declare interface EdgeOutlineStyles {
1830  /**
1831   * top property.
1832   *
1833   * @type { ?OutlineStyle }
1834   * @syscap SystemCapability.ArkUI.ArkUI.Full
1835   * @crossplatform
1836   * @since 11
1837   * @form
1838   */
1839  /**
1840   * top property.
1841   *
1842   * @type { ?OutlineStyle }
1843   * @syscap SystemCapability.ArkUI.ArkUI.Full
1844   * @crossplatform
1845   * @form
1846   * @atomicservice
1847   * @since arkts {'1.1':'12','1.2':'20'}
1848   * @arkts 1.1&1.2
1849   */
1850  top?: OutlineStyle;
1851
1852  /**
1853   * right property.
1854   *
1855   * @type { ?OutlineStyle }
1856   * @syscap SystemCapability.ArkUI.ArkUI.Full
1857   * @crossplatform
1858   * @since 11
1859   * @form
1860   */
1861  /**
1862   * right property.
1863   *
1864   * @type { ?OutlineStyle }
1865   * @syscap SystemCapability.ArkUI.ArkUI.Full
1866   * @crossplatform
1867   * @form
1868   * @atomicservice
1869   * @since arkts {'1.1':'12','1.2':'20'}
1870   * @arkts 1.1&1.2
1871   */
1872  right?: OutlineStyle;
1873
1874  /**
1875   * bottom property.
1876   *
1877   * @type { ?OutlineStyle }
1878   * @syscap SystemCapability.ArkUI.ArkUI.Full
1879   * @crossplatform
1880   * @since 11
1881   * @form
1882   */
1883  /**
1884   * bottom property.
1885   *
1886   * @type { ?OutlineStyle }
1887   * @syscap SystemCapability.ArkUI.ArkUI.Full
1888   * @crossplatform
1889   * @form
1890   * @atomicservice
1891   * @since arkts {'1.1':'12','1.2':'20'}
1892   * @arkts 1.1&1.2
1893   */
1894  bottom?: OutlineStyle;
1895
1896  /**
1897   * left property.
1898   *
1899   * @type { ?OutlineStyle }
1900   * @syscap SystemCapability.ArkUI.ArkUI.Full
1901   * @crossplatform
1902   * @since 11
1903   * @form
1904   */
1905  /**
1906   * left property.
1907   *
1908   * @type { ?OutlineStyle }
1909   * @syscap SystemCapability.ArkUI.ArkUI.Full
1910   * @crossplatform
1911   * @form
1912   * @atomicservice
1913   * @since arkts {'1.1':'12','1.2':'20'}
1914   * @arkts 1.1&1.2
1915   */
1916  left?: OutlineStyle;
1917};
1918
1919/**
1920 * Defines the offset property.
1921 *
1922 * @typedef { object } Offset
1923 * @syscap SystemCapability.ArkUI.ArkUI.Full
1924 * @since 7
1925 */
1926/**
1927 * Defines the offset property.
1928 *
1929 * @typedef { object } Offset
1930 * @syscap SystemCapability.ArkUI.ArkUI.Full
1931 * @crossplatform
1932 * @since 10
1933 */
1934/**
1935 * Defines the offset property.
1936 *
1937 * @typedef { object } Offset
1938 * @syscap SystemCapability.ArkUI.ArkUI.Full
1939 * @crossplatform
1940 * @atomicservice
1941 * @since arkts {'1.1':'11','1.2':'20'}
1942 * @arkts 1.1&1.2
1943 */
1944declare interface Offset {
1945  /**
1946   * dx property.
1947   *
1948   * @type { Length }
1949   * @syscap SystemCapability.ArkUI.ArkUI.Full
1950   * @since 7
1951   */
1952  /**
1953   * dx property.
1954   *
1955   * @type { Length }
1956   * @syscap SystemCapability.ArkUI.ArkUI.Full
1957   * @crossplatform
1958   * @since 10
1959   */
1960  /**
1961   * dx property.
1962   *
1963   * @type { Length }
1964   * @syscap SystemCapability.ArkUI.ArkUI.Full
1965   * @crossplatform
1966   * @atomicservice
1967   * @since arkts {'1.1':'11','1.2':'20'}
1968   * @arkts 1.1&1.2
1969   */
1970  dx: Length;
1971
1972  /**
1973   * dy property.
1974   *
1975   * @type { Length }
1976   * @syscap SystemCapability.ArkUI.ArkUI.Full
1977   * @since 7
1978   */
1979  /**
1980   * dy property.
1981   *
1982   * @type { Length }
1983   * @syscap SystemCapability.ArkUI.ArkUI.Full
1984   * @crossplatform
1985   * @since 10
1986   */
1987  /**
1988   * dy property.
1989   *
1990   * @type { Length }
1991   * @syscap SystemCapability.ArkUI.ArkUI.Full
1992   * @crossplatform
1993   * @atomicservice
1994   * @since arkts {'1.1':'11','1.2':'20'}
1995   * @arkts 1.1&1.2
1996   */
1997  dy: Length;
1998};
1999
2000/**
2001 * Defines the color which can use resource.
2002 *
2003 * @typedef { Color | number | string | Resource } ResourceColor
2004 * @syscap SystemCapability.ArkUI.ArkUI.Full
2005 * @since 7
2006 */
2007/**
2008 * Defines the color which can use resource.
2009 *
2010 * @typedef { Color | number | string | Resource } ResourceColor
2011 * @syscap SystemCapability.ArkUI.ArkUI.Full
2012 * @form
2013 * @since 9
2014 */
2015/**
2016 * Defines the color which can use resource.
2017 *
2018 * @typedef { Color | number | string | Resource } ResourceColor
2019 * @syscap SystemCapability.ArkUI.ArkUI.Full
2020 * @crossplatform
2021 * @form
2022 * @since 10
2023 */
2024/**
2025 * Defines the color which can use resource.
2026 *
2027 * @typedef { Color | number | string | Resource } ResourceColor
2028 * @syscap SystemCapability.ArkUI.ArkUI.Full
2029 * @crossplatform
2030 * @form
2031 * @atomicservice
2032 * @since arkts {'1.1':'11','1.2':'20'}
2033 * @arkts 1.1&1.2
2034 */
2035declare type ResourceColor = Color | number | string | Resource;
2036
2037/**
2038 * Defines the length constrain property.
2039 *
2040 * @typedef { object } LengthConstrain
2041 * @syscap SystemCapability.ArkUI.ArkUI.Full
2042 * @form
2043 * @since 9
2044 */
2045/**
2046 * Defines the length constrain property.
2047 *
2048 * @typedef { object } LengthConstrain
2049 * @syscap SystemCapability.ArkUI.ArkUI.Full
2050 * @crossplatform
2051 * @form
2052 * @since 10
2053 */
2054/**
2055 * Defines the length constrain property.
2056 *
2057 * @typedef { object } LengthConstrain
2058 * @syscap SystemCapability.ArkUI.ArkUI.Full
2059 * @crossplatform
2060 * @form
2061 * @atomicservice
2062 * @since 11
2063 */
2064/**
2065 * Defines the length constrain property.
2066 *
2067 * Anonymous Object Rectification
2068 * @typedef { object } LengthConstrain
2069 * @syscap SystemCapability.ArkUI.ArkUI.Full
2070 * @crossplatform
2071 * @form
2072 * @atomicservice
2073 * @since 20
2074 * @arkts 1.1&1.2
2075 */
2076declare interface LengthConstrain {
2077  /**
2078   * minimum length.
2079   *
2080   * @type { Length }
2081   * @syscap SystemCapability.ArkUI.ArkUI.Full
2082   * @since 9
2083   * @form
2084   */
2085  /**
2086   * minimum length.
2087   *
2088   * @type { Length }
2089   * @syscap SystemCapability.ArkUI.ArkUI.Full
2090   * @crossplatform
2091   * @since 10
2092   * @form
2093   */
2094  /**
2095   * minimum length.
2096   *
2097   * @type { Length }
2098   * @syscap SystemCapability.ArkUI.ArkUI.Full
2099   * @crossplatform
2100   * @atomicservice
2101   * @since arkts {'1.1':'11','1.2':'20'}
2102   * @arkts 1.1&1.2
2103   * @form
2104   */
2105  minLength: Length;
2106
2107  /**
2108   * maximum length.
2109   *
2110   * @type { Length }
2111   * @syscap SystemCapability.ArkUI.ArkUI.Full
2112   * @since 9
2113   * @form
2114   */
2115  /**
2116   * maximum length.
2117   *
2118   * @type { Length }
2119   * @syscap SystemCapability.ArkUI.ArkUI.Full
2120   * @crossplatform
2121   * @since 10
2122   * @form
2123   */
2124  /**
2125   * maximum length.
2126   *
2127   * @type { Length }
2128   * @syscap SystemCapability.ArkUI.ArkUI.Full
2129   * @crossplatform
2130   * @atomicservice
2131   * @since arkts {'1.1':'11','1.2':'20'}
2132   * @arkts 1.1&1.2
2133   * @form
2134   */
2135  maxLength: Length;
2136};
2137
2138/**
2139 * Defines VoidCallback.
2140 *
2141 * @typedef { function } VoidCallback
2142 * @syscap SystemCapability.ArkUI.ArkUI.Full
2143 * @crossplatform
2144 * @atomicservice
2145 * @since arkts {'1.1':'12','1.2':'20'}
2146 * @arkts 1.1&1.2
2147 */
2148declare type VoidCallback  = () => void;
2149
2150/**
2151 * Defines length metrics unit.
2152 *
2153 * @typedef { import('../api/arkui/Graphics').LengthMetricsUnit } LengthMetricsUnit
2154 * @syscap SystemCapability.ArkUI.ArkUI.Full
2155 * @crossplatform
2156 * @form
2157 * @atomicservice
2158 * @since 12
2159 */
2160declare type LengthMetricsUnit = import('../api/arkui/Graphics').LengthMetricsUnit;
2161
2162/**
2163 * Defines length metrics unit.
2164 *
2165 * @typedef { _LengthMetricsUnit } LengthMetricsUnit
2166 * @syscap SystemCapability.ArkUI.ArkUI.Full
2167 * @crossplatform
2168 * @form
2169 * @atomicservice
2170 * @since 20
2171 * @arkts 1.2
2172 */
2173declare type LengthMetricsUnit = _LengthMetricsUnit;
2174
2175/**
2176 * Defines LengthMetrics.
2177 *
2178 * @typedef { import('../api/arkui/Graphics').LengthMetrics } LengthMetrics
2179 * @syscap SystemCapability.ArkUI.ArkUI.Full
2180 * @crossplatform
2181 * @atomicservice
2182 * @since 12
2183 */
2184declare type LengthMetrics = import('../api/arkui/Graphics').LengthMetrics;
2185
2186/**
2187 * Defines LengthMetrics.
2188 *
2189 * @typedef { _LengthMetrics } LengthMetrics
2190 * @syscap SystemCapability.ArkUI.ArkUI.Full
2191 * @crossplatform
2192 * @atomicservice
2193 * @since 20
2194 * @arkts 1.2
2195 */
2196declare type LengthMetrics = _LengthMetrics;
2197
2198/**
2199 * Defines ColorMetrics.
2200 *
2201 * @typedef { import('../api/arkui/Graphics').ColorMetrics } ColorMetrics
2202 * @syscap SystemCapability.ArkUI.ArkUI.Full
2203 * @crossplatform
2204 * @atomicservice
2205 * @since 12
2206 */
2207declare type ColorMetrics = import('../api/arkui/Graphics').ColorMetrics;
2208
2209/**
2210 * Defines ColorMetrics.
2211 *
2212 * @typedef { _ColorMetrics } ColorMetrics
2213 * @syscap SystemCapability.ArkUI.ArkUI.Full
2214 * @crossplatform
2215 * @atomicservice
2216 * @since 20
2217 * @arkts 1.2
2218 */
2219declare type ColorMetrics = _ColorMetrics;
2220
2221/**
2222 * Defines the font used for text.
2223 *
2224 * @interface Font
2225 * @syscap SystemCapability.ArkUI.ArkUI.Full
2226 * @since 7
2227 */
2228/**
2229 * Defines the font used for text.
2230 *
2231 * @interface Font
2232 * @syscap SystemCapability.ArkUI.ArkUI.Full
2233 * @crossplatform
2234 * @since 10
2235 */
2236/**
2237 * Defines the font used for text.
2238 *
2239 * @interface Font
2240 * @syscap SystemCapability.ArkUI.ArkUI.Full
2241 * @crossplatform
2242 * @atomicservice
2243 * @since arkts {'1.1':'11','1.2':'20'}
2244 * @arkts 1.1&1.2
2245 */
2246declare interface Font {
2247  /**
2248   * font size.
2249   *
2250   * @type { ?Length }
2251   * @syscap SystemCapability.ArkUI.ArkUI.Full
2252   * @since 7
2253   */
2254  /**
2255   * font size.
2256   *
2257   * @type { ?Length }
2258   * @syscap SystemCapability.ArkUI.ArkUI.Full
2259   * @crossplatform
2260   * @since 10
2261   */
2262  /**
2263   * font size.
2264   *
2265   * @type { ?Length }
2266   * @syscap SystemCapability.ArkUI.ArkUI.Full
2267   * @crossplatform
2268   * @atomicservice
2269   * @since arkts {'1.1':'11','1.2':'20'}
2270   * @arkts 1.1&1.2
2271   */
2272  size?: Length;
2273
2274  /**
2275   * font weight.
2276   *
2277   * @type { ?(FontWeight | number | string) }
2278   * @syscap SystemCapability.ArkUI.ArkUI.Full
2279   * @since 7
2280   */
2281  /**
2282   * font weight.
2283   *
2284   * @type { ?(FontWeight | number | string) }
2285   * @syscap SystemCapability.ArkUI.ArkUI.Full
2286   * @crossplatform
2287   * @since 10
2288   */
2289  /**
2290   * font weight.
2291   *
2292   * @type { ?(FontWeight | number | string) }
2293   * @syscap SystemCapability.ArkUI.ArkUI.Full
2294   * @crossplatform
2295   * @atomicservice
2296   * @since arkts {'1.1':'11','1.2':'20'}
2297   * @arkts 1.1&1.2
2298   */
2299  weight?: FontWeight | number | string;
2300
2301  /**
2302   * font family.
2303   *
2304   * @type { ?(string | Resource) }
2305   * @syscap SystemCapability.ArkUI.ArkUI.Full
2306   * @since 7
2307   */
2308  /**
2309   * font family.
2310   *
2311   * @type { ?(string | Resource) }
2312   * @syscap SystemCapability.ArkUI.ArkUI.Full
2313   * @crossplatform
2314   * @since 10
2315   */
2316  /**
2317   * font family.
2318   *
2319   * @type { ?(string | Resource) }
2320   * @syscap SystemCapability.ArkUI.ArkUI.Full
2321   * @crossplatform
2322   * @atomicservice
2323   * @since arkts {'1.1':'11','1.2':'20'}
2324   * @arkts 1.1&1.2
2325   */
2326  family?: string | Resource;
2327
2328  /**
2329   * font style.
2330   *
2331   * @type { ?FontStyle }
2332   * @syscap SystemCapability.ArkUI.ArkUI.Full
2333   * @since 7
2334   */
2335  /**
2336   * font style.
2337   *
2338   * @type { ?FontStyle }
2339   * @syscap SystemCapability.ArkUI.ArkUI.Full
2340   * @crossplatform
2341   * @since 10
2342   */
2343  /**
2344   * font style.
2345   *
2346   * @type { ?FontStyle }
2347   * @syscap SystemCapability.ArkUI.ArkUI.Full
2348   * @crossplatform
2349   * @atomicservice
2350   * @since arkts {'1.1':'11','1.2':'20'}
2351   * @arkts 1.1&1.2
2352   */
2353  style?: FontStyle;
2354}
2355
2356/**
2357 * Defines the area property.
2358 *
2359 * @interface Area
2360 * @syscap SystemCapability.ArkUI.ArkUI.Full
2361 * @since 8
2362 */
2363/**
2364 * Defines the area property.
2365 *
2366 * @interface Area
2367 * @syscap SystemCapability.ArkUI.ArkUI.Full
2368 * @form
2369 * @since 9
2370 */
2371/**
2372 * Defines the area property.
2373 *
2374 * @interface Area
2375 * @syscap SystemCapability.ArkUI.ArkUI.Full
2376 * @crossplatform
2377 * @form
2378 * @since 10
2379 */
2380/**
2381 * Defines the area property.
2382 *
2383 * @interface Area
2384 * @syscap SystemCapability.ArkUI.ArkUI.Full
2385 * @crossplatform
2386 * @form
2387 * @atomicservice
2388 * @since arkts {'1.1':'11','1.2':'20'}
2389 * @arkts 1.1&1.2
2390 */
2391declare interface Area {
2392  /**
2393   * Defines the width property.
2394   *
2395   * @type { Length }
2396   * @syscap SystemCapability.ArkUI.ArkUI.Full
2397   * @since 8
2398   */
2399  /**
2400   * Defines the width property.
2401   *
2402   * @type { Length }
2403   * @syscap SystemCapability.ArkUI.ArkUI.Full
2404   * @form
2405   * @since 9
2406   */
2407  /**
2408   * Defines the width property.
2409   *
2410   * @type { Length }
2411   * @syscap SystemCapability.ArkUI.ArkUI.Full
2412   * @crossplatform
2413   * @form
2414   * @since 10
2415   */
2416  /**
2417   * Defines the width property.
2418   *
2419   * @type { Length }
2420   * @syscap SystemCapability.ArkUI.ArkUI.Full
2421   * @crossplatform
2422   * @form
2423   * @atomicservice
2424   * @since arkts {'1.1':'11','1.2':'20'}
2425   * @arkts 1.1&1.2
2426   */
2427  width: Length;
2428
2429  /**
2430   * Defines the height property.
2431   *
2432   * @type { Length }
2433   * @syscap SystemCapability.ArkUI.ArkUI.Full
2434   * @since 8
2435   */
2436  /**
2437   * Defines the height property.
2438   *
2439   * @type { Length }
2440   * @syscap SystemCapability.ArkUI.ArkUI.Full
2441   * @form
2442   * @since 9
2443   */
2444  /**
2445   * Defines the height property.
2446   *
2447   * @type { Length }
2448   * @syscap SystemCapability.ArkUI.ArkUI.Full
2449   * @crossplatform
2450   * @form
2451   * @since 10
2452   */
2453  /**
2454   * Defines the height property.
2455   *
2456   * @type { Length }
2457   * @syscap SystemCapability.ArkUI.ArkUI.Full
2458   * @crossplatform
2459   * @form
2460   * @atomicservice
2461   * @since arkts {'1.1':'11','1.2':'20'}
2462   * @arkts 1.1&1.2
2463   */
2464  height: Length;
2465
2466  /**
2467   * Defines the local position.
2468   *
2469   * @type { Position }
2470   * @syscap SystemCapability.ArkUI.ArkUI.Full
2471   * @since 8
2472   */
2473  /**
2474   * Defines the local position.
2475   *
2476   * @type { Position }
2477   * @syscap SystemCapability.ArkUI.ArkUI.Full
2478   * @form
2479   * @since 9
2480   */
2481  /**
2482   * Defines the local position.
2483   *
2484   * @type { Position }
2485   * @syscap SystemCapability.ArkUI.ArkUI.Full
2486   * @crossplatform
2487   * @form
2488   * @since 10
2489   */
2490  /**
2491   * Defines the local position.
2492   *
2493   * @type { Position }
2494   * @syscap SystemCapability.ArkUI.ArkUI.Full
2495   * @crossplatform
2496   * @form
2497   * @atomicservice
2498   * @since arkts {'1.1':'11','1.2':'20'}
2499   * @arkts 1.1&1.2
2500   */
2501  position: Position;
2502
2503  /**
2504   * Defines the global position.
2505   *
2506   * @type { Position }
2507   * @syscap SystemCapability.ArkUI.ArkUI.Full
2508   * @since 8
2509   */
2510  /**
2511   * Defines the global position.
2512   *
2513   * @type { Position }
2514   * @syscap SystemCapability.ArkUI.ArkUI.Full
2515   * @form
2516   * @since 9
2517   */
2518  /**
2519   * Defines the global position.
2520   *
2521   * @type { Position }
2522   * @syscap SystemCapability.ArkUI.ArkUI.Full
2523   * @crossplatform
2524   * @form
2525   * @since 10
2526   */
2527  /**
2528   * Defines the global position.
2529   *
2530   * @type { Position }
2531   * @syscap SystemCapability.ArkUI.ArkUI.Full
2532   * @crossplatform
2533   * @form
2534   * @atomicservice
2535   * @since arkts {'1.1':'11','1.2':'20'}
2536   * @arkts 1.1&1.2
2537   */
2538  globalPosition: Position;
2539}
2540
2541/**
2542 * Defines the position.
2543 *
2544 * @interface Position
2545 * @syscap SystemCapability.ArkUI.ArkUI.Full
2546 * @since 7
2547 */
2548/**
2549 * Defines the position.
2550 *
2551 * @interface Position
2552 * @syscap SystemCapability.ArkUI.ArkUI.Full
2553 * @form
2554 * @since 9
2555 */
2556/**
2557 * Defines the position.
2558 *
2559 * @interface Position
2560 * @syscap SystemCapability.ArkUI.ArkUI.Full
2561 * @crossplatform
2562 * @form
2563 * @since 10
2564 */
2565/**
2566 * Defines the position.
2567 *
2568 * @interface Position
2569 * @syscap SystemCapability.ArkUI.ArkUI.Full
2570 * @crossplatform
2571 * @form
2572 * @atomicservice
2573 * @since arkts {'1.1':'11','1.2':'20'}
2574 * @arkts 1.1&1.2
2575 */
2576declare interface Position {
2577  /**
2578   * Coordinate x of the Position.
2579   *
2580   * @type { ?Length }
2581   * @syscap SystemCapability.ArkUI.ArkUI.Full
2582   * @since 7
2583   */
2584  /**
2585   * Coordinate x of the Position.
2586   *
2587   * @type { ?Length }
2588   * @syscap SystemCapability.ArkUI.ArkUI.Full
2589   * @form
2590   * @since 9
2591   */
2592  /**
2593   * Coordinate x of the Position.
2594   *
2595   * @type { ?Length }
2596   * @syscap SystemCapability.ArkUI.ArkUI.Full
2597   * @crossplatform
2598   * @form
2599   * @since 10
2600   */
2601  /**
2602   * Coordinate x of the Position.
2603   *
2604   * @type { ?Length }
2605   * @syscap SystemCapability.ArkUI.ArkUI.Full
2606   * @crossplatform
2607   * @form
2608   * @atomicservice
2609   * @since arkts {'1.1':'11','1.2':'20'}
2610   * @arkts 1.1&1.2
2611   */
2612  x?: Length;
2613
2614  /**
2615   * Coordinate y of the Position.
2616   *
2617   * @type { ?Length }
2618   * @syscap SystemCapability.ArkUI.ArkUI.Full
2619   * @since 7
2620   */
2621  /**
2622   * Coordinate y of the Position.
2623   *
2624   * @type { ?Length }
2625   * @syscap SystemCapability.ArkUI.ArkUI.Full
2626   * @form
2627   * @since 9
2628   */
2629  /**
2630   * Coordinate y of the Position.
2631   *
2632   * @type { ?Length }
2633   * @syscap SystemCapability.ArkUI.ArkUI.Full
2634   * @crossplatform
2635   * @form
2636   * @since 10
2637   */
2638  /**
2639   * Coordinate y of the Position.
2640   *
2641   * @type { ?Length }
2642   * @syscap SystemCapability.ArkUI.ArkUI.Full
2643   * @crossplatform
2644   * @form
2645   * @atomicservice
2646   * @since arkts {'1.1':'11','1.2':'20'}
2647   * @arkts 1.1&1.2
2648   */
2649  y?: Length;
2650}
2651
2652/**
2653 * Defines the LocalizedPosition.
2654 *
2655 * @interface LocalizedPosition
2656 * @syscap SystemCapability.ArkUI.ArkUI.Full
2657 * @crossplatform
2658 * @atomicservice
2659 * @since arkts {'1.1':'12','1.2':'20'}
2660 * @arkts 1.1&1.2
2661 */
2662declare interface LocalizedPosition {
2663  /**
2664   * Coordinate start of the Position.
2665   *
2666   * @type { ?LengthMetrics }
2667   * @syscap SystemCapability.ArkUI.ArkUI.Full
2668   * @crossplatform
2669   * @atomicservice
2670   * @since arkts {'1.1':'12','1.2':'20'}
2671   * @arkts 1.1&1.2
2672   */
2673  start?: LengthMetrics;
2674
2675  /**
2676   * Coordinate top of the Position.
2677   *
2678   * @type { ?LengthMetrics }
2679   * @syscap SystemCapability.ArkUI.ArkUI.Full
2680   * @crossplatform
2681   * @atomicservice
2682   * @since arkts {'1.1':'12','1.2':'20'}
2683   * @arkts 1.1&1.2
2684   */
2685  top?: LengthMetrics;
2686}
2687
2688/**
2689 * Defines the Edges.
2690 *
2691 * @interface Edges
2692 * @syscap SystemCapability.ArkUI.ArkUI.Full
2693 * @crossplatform
2694 * @form
2695 * @atomicservice
2696 * @since arkts {'1.1':'12','1.2':'20'}
2697 * @arkts 1.1&1.2
2698 */
2699declare interface Edges {
2700  /**
2701   * top property.
2702   *
2703   * @type { ?Dimension }
2704   * @syscap SystemCapability.ArkUI.ArkUI.Full
2705   * @crossplatform
2706   * @form
2707   * @atomicservice
2708   * @since arkts {'1.1':'12','1.2':'20'}
2709   * @arkts 1.1&1.2
2710   */
2711  top?: Dimension;
2712
2713  /**
2714   * left property.
2715   *
2716   * @type { ?Dimension }
2717   * @syscap SystemCapability.ArkUI.ArkUI.Full
2718   * @crossplatform
2719   * @form
2720   * @atomicservice
2721   * @since arkts {'1.1':'12','1.2':'20'}
2722   * @arkts 1.1&1.2
2723   */
2724  left?: Dimension;
2725
2726   /**
2727   * bottom property.
2728   *
2729   * @type { ?Dimension }
2730   * @syscap SystemCapability.ArkUI.ArkUI.Full
2731   * @crossplatform
2732   * @form
2733   * @atomicservice
2734   * @since arkts {'1.1':'12','1.2':'20'}
2735   * @arkts 1.1&1.2
2736   */
2737  bottom?: Dimension;
2738
2739  /**
2740   * right property.
2741   *
2742   * @type { ?Dimension }
2743   * @syscap SystemCapability.ArkUI.ArkUI.Full
2744   * @crossplatform
2745   * @form
2746   * @atomicservice
2747   * @since arkts {'1.1':'12','1.2':'20'}
2748   * @arkts 1.1&1.2
2749   */
2750  right?: Dimension;
2751}
2752
2753/**
2754 * Defines the LocalizedEdges.
2755 *
2756 * @interface LocalizedEdges
2757 * @syscap SystemCapability.ArkUI.ArkUI.Full
2758 * @crossplatform
2759 * @atomicservice
2760 * @since arkts {'1.1':'12','1.2':'20'}
2761 * @arkts 1.1&1.2
2762 */
2763declare interface LocalizedEdges {
2764  /**
2765   * top property.
2766   *
2767   * @type { ?LengthMetrics }
2768   * @syscap SystemCapability.ArkUI.ArkUI.Full
2769   * @crossplatform
2770   * @atomicservice
2771   * @since arkts {'1.1':'12','1.2':'20'}
2772   * @arkts 1.1&1.2
2773   */
2774  top?: LengthMetrics;
2775
2776  /**
2777   * start property.
2778   *
2779   * @type { ?LengthMetrics }
2780   * @syscap SystemCapability.ArkUI.ArkUI.Full
2781   * @crossplatform
2782   * @atomicservice
2783   * @since arkts {'1.1':'12','1.2':'20'}
2784   * @arkts 1.1&1.2
2785   */
2786  start?: LengthMetrics;
2787
2788  /**
2789   * bottom property.
2790   *
2791   * @type { ?LengthMetrics }
2792   * @syscap SystemCapability.ArkUI.ArkUI.Full
2793   * @crossplatform
2794   * @atomicservice
2795   * @since arkts {'1.1':'12','1.2':'20'}
2796   * @arkts 1.1&1.2
2797   */
2798  bottom?: LengthMetrics;
2799
2800  /**
2801   * end property.
2802   *
2803   * @type { ?LengthMetrics }
2804   * @syscap SystemCapability.ArkUI.ArkUI.Full
2805   * @crossplatform
2806   * @atomicservice
2807   * @since arkts {'1.1':'12','1.2':'20'}
2808   * @arkts 1.1&1.2
2809   */
2810  end?: LengthMetrics;
2811}
2812
2813/**
2814 * Defines the Bias.
2815 *
2816 * @interface Bias
2817 * @syscap SystemCapability.ArkUI.ArkUI.Full
2818 * @crossplatform
2819 * @form
2820 * @since 11
2821 */
2822/**
2823 * Defines the Bias.
2824 *
2825 * @interface Bias
2826 * @syscap SystemCapability.ArkUI.ArkUI.Full
2827 * @crossplatform
2828 * @form
2829 * @atomicservice
2830 * @since arkts {'1.1':'12','1.2':'20'}
2831 * @arkts 1.1&1.2
2832 */
2833declare interface Bias {
2834  /**
2835   * Horizontal ratio of the Bias, it must be >= 0.
2836   *
2837   * @type { ?number }
2838   * @default 0.5
2839   * @syscap SystemCapability.ArkUI.ArkUI.Full
2840   * @crossplatform
2841   * @form
2842   * @since 11
2843   */
2844  /**
2845   * Horizontal ratio of the Bias, it must be >= 0.
2846   *
2847   * @type { ?number }
2848   * @default 0.5
2849   * @syscap SystemCapability.ArkUI.ArkUI.Full
2850   * @crossplatform
2851   * @form
2852   * @atomicservice
2853   * @since arkts {'1.1':'12','1.2':'20'}
2854   * @arkts 1.1&1.2
2855   */
2856  horizontal?: number;
2857
2858  /**
2859   * Vertical ratio of the Bias, it must be >= 0.
2860   *
2861   * @type { ?number }
2862   * @default 0.5
2863   * @syscap SystemCapability.ArkUI.ArkUI.Full
2864   * @crossplatform
2865   * @form
2866   * @since 11
2867   */
2868  /**
2869   * Vertical ratio of the Bias, it must be >= 0.
2870   *
2871   * @type { ?number }
2872   * @default 0.5
2873   * @syscap SystemCapability.ArkUI.ArkUI.Full
2874   * @crossplatform
2875   * @form
2876   * @atomicservice
2877   * @since arkts {'1.1':'12','1.2':'20'}
2878   * @arkts 1.1&1.2
2879   */
2880  vertical?: number;
2881}
2882
2883/**
2884 * Defines the constrain size options.
2885 *
2886 * @interface ConstraintSizeOptions
2887 * @syscap SystemCapability.ArkUI.ArkUI.Full
2888 * @since 7
2889 */
2890/**
2891 * Defines the constrain size options.
2892 *
2893 * @interface ConstraintSizeOptions
2894 * @syscap SystemCapability.ArkUI.ArkUI.Full
2895 * @form
2896 * @since 9
2897 */
2898/**
2899 * Defines the constrain size options.
2900 *
2901 * @interface ConstraintSizeOptions
2902 * @syscap SystemCapability.ArkUI.ArkUI.Full
2903 * @crossplatform
2904 * @form
2905 * @since 10
2906 */
2907/**
2908 * Defines the constrain size options.
2909 *
2910 * @interface ConstraintSizeOptions
2911 * @syscap SystemCapability.ArkUI.ArkUI.Full
2912 * @crossplatform
2913 * @form
2914 * @atomicservice
2915 * @since arkts {'1.1':'11','1.2':'20'}
2916 * @arkts 1.1&1.2
2917 */
2918declare interface ConstraintSizeOptions {
2919  /**
2920   * Defines the min width.
2921   *
2922   * @type { ?Length }
2923   * @syscap SystemCapability.ArkUI.ArkUI.Full
2924   * @since 7
2925   */
2926  /**
2927   * Defines the min width.
2928   *
2929   * @type { ?Length }
2930   * @syscap SystemCapability.ArkUI.ArkUI.Full
2931   * @form
2932   * @since 9
2933   */
2934  /**
2935   * Defines the min width.
2936   *
2937   * @type { ?Length }
2938   * @syscap SystemCapability.ArkUI.ArkUI.Full
2939   * @crossplatform
2940   * @form
2941   * @since 10
2942   */
2943  /**
2944   * Defines the min width.
2945   *
2946   * @type { ?Length }
2947   * @syscap SystemCapability.ArkUI.ArkUI.Full
2948   * @crossplatform
2949   * @form
2950   * @atomicservice
2951   * @since arkts {'1.1':'11','1.2':'20'}
2952   * @arkts 1.1&1.2
2953   */
2954  minWidth?: Length;
2955
2956  /**
2957   * Defines the max width.
2958   *
2959   * @type { ?Length }
2960   * @syscap SystemCapability.ArkUI.ArkUI.Full
2961   * @since 7
2962   */
2963  /**
2964   * Defines the max width.
2965   *
2966   * @type { ?Length }
2967   * @syscap SystemCapability.ArkUI.ArkUI.Full
2968   * @form
2969   * @since 9
2970   */
2971  /**
2972   * Defines the max width.
2973   *
2974   * @type { ?Length }
2975   * @syscap SystemCapability.ArkUI.ArkUI.Full
2976   * @crossplatform
2977   * @form
2978   * @since 10
2979   */
2980  /**
2981   * Defines the max width.
2982   *
2983   * @type { ?Length }
2984   * @syscap SystemCapability.ArkUI.ArkUI.Full
2985   * @crossplatform
2986   * @form
2987   * @atomicservice
2988   * @since arkts {'1.1':'11','1.2':'20'}
2989   * @arkts 1.1&1.2
2990   */
2991  maxWidth?: Length;
2992
2993  /**
2994   * Defines the min height.
2995   *
2996   * @type { ?Length }
2997   * @syscap SystemCapability.ArkUI.ArkUI.Full
2998   * @since 7
2999   */
3000  /**
3001   * Defines the min height.
3002   *
3003   * @type { ?Length }
3004   * @syscap SystemCapability.ArkUI.ArkUI.Full
3005   * @form
3006   * @since 9
3007   */
3008  /**
3009   * Defines the min height.
3010   *
3011   * @type { ?Length }
3012   * @syscap SystemCapability.ArkUI.ArkUI.Full
3013   * @crossplatform
3014   * @form
3015   * @since 10
3016   */
3017  /**
3018   * Defines the min height.
3019   *
3020   * @type { ?Length }
3021   * @syscap SystemCapability.ArkUI.ArkUI.Full
3022   * @crossplatform
3023   * @form
3024   * @atomicservice
3025   * @since arkts {'1.1':'11','1.2':'20'}
3026   * @arkts 1.1&1.2
3027   */
3028  minHeight?: Length;
3029
3030  /**
3031   * Defines the max height.
3032   *
3033   * @type { ?Length }
3034   * @syscap SystemCapability.ArkUI.ArkUI.Full
3035   * @since 7
3036   */
3037  /**
3038   * Defines the max height.
3039   *
3040   * @type { ?Length }
3041   * @syscap SystemCapability.ArkUI.ArkUI.Full
3042   * @form
3043   * @since 9
3044   */
3045  /**
3046   * Defines the max height.
3047   *
3048   * @type { ?Length }
3049   * @syscap SystemCapability.ArkUI.ArkUI.Full
3050   * @crossplatform
3051   * @form
3052   * @since 10
3053   */
3054  /**
3055   * Defines the max height.
3056   *
3057   * @type { ?Length }
3058   * @syscap SystemCapability.ArkUI.ArkUI.Full
3059   * @crossplatform
3060   * @form
3061   * @atomicservice
3062   * @since arkts {'1.1':'11','1.2':'20'}
3063   * @arkts 1.1&1.2
3064   */
3065  maxHeight?: Length;
3066}
3067
3068/**
3069 * Defines the size options.
3070 *
3071 * @interface SizeOptions
3072 * @syscap SystemCapability.ArkUI.ArkUI.Full
3073 * @since 7
3074 */
3075/**
3076 * Defines the size options.
3077 *
3078 * @interface SizeOptions
3079 * @syscap SystemCapability.ArkUI.ArkUI.Full
3080 * @form
3081 * @since 9
3082 */
3083/**
3084 * Defines the size options.
3085 *
3086 * @interface SizeOptions
3087 * @syscap SystemCapability.ArkUI.ArkUI.Full
3088 * @crossplatform
3089 * @form
3090 * @since 10
3091 */
3092/**
3093 * Defines the size options.
3094 *
3095 * @interface SizeOptions
3096 * @syscap SystemCapability.ArkUI.ArkUI.Full
3097 * @crossplatform
3098 * @form
3099 * @atomicservice
3100 * @since arkts {'1.1':'11','1.2':'20'}
3101 * @arkts 1.1&1.2
3102 */
3103declare interface SizeOptions {
3104  /**
3105   * Defines the width.
3106   *
3107   * @type { ?Length }
3108   * @syscap SystemCapability.ArkUI.ArkUI.Full
3109   * @since 7
3110   */
3111  /**
3112   * Defines the width.
3113   *
3114   * @type { ?Length }
3115   * @syscap SystemCapability.ArkUI.ArkUI.Full
3116   * @form
3117   * @since 9
3118   */
3119  /**
3120   * Defines the width.
3121   *
3122   * @type { ?Length }
3123   * @syscap SystemCapability.ArkUI.ArkUI.Full
3124   * @crossplatform
3125   * @form
3126   * @since 10
3127   */
3128  /**
3129   * Defines the width.
3130   *
3131   * @type { ?Length }
3132   * @syscap SystemCapability.ArkUI.ArkUI.Full
3133   * @crossplatform
3134   * @form
3135   * @atomicservice
3136   * @since arkts {'1.1':'11','1.2':'20'}
3137   * @arkts 1.1&1.2
3138   */
3139  width?: Length;
3140
3141  /**
3142   * Defines the height.
3143   *
3144   * @type { ?Length }
3145   * @syscap SystemCapability.ArkUI.ArkUI.Full
3146   * @since 7
3147   */
3148  /**
3149   * Defines the height.
3150   *
3151   * @type { ?Length }
3152   * @syscap SystemCapability.ArkUI.ArkUI.Full
3153   * @form
3154   * @since 9
3155   */
3156  /**
3157   * Defines the height.
3158   *
3159   * @type { ?Length }
3160   * @syscap SystemCapability.ArkUI.ArkUI.Full
3161   * @crossplatform
3162   * @form
3163   * @since 10
3164   */
3165  /**
3166   * Defines the height.
3167   *
3168   * @type { ?Length }
3169   * @syscap SystemCapability.ArkUI.ArkUI.Full
3170   * @crossplatform
3171   * @form
3172   * @atomicservice
3173   * @since arkts {'1.1':'11','1.2':'20'}
3174   * @arkts 1.1&1.2
3175   */
3176  height?: Length;
3177}
3178
3179/**
3180 * Defines the options of border.
3181 *
3182 * @interface BorderOptions
3183 * @syscap SystemCapability.ArkUI.ArkUI.Full
3184 * @since 7
3185 */
3186/**
3187 * Defines the options of border.
3188 *
3189 * @interface BorderOptions
3190 * @syscap SystemCapability.ArkUI.ArkUI.Full
3191 * @form
3192 * @since 9
3193 */
3194/**
3195 * Defines the options of border.
3196 *
3197 * @interface BorderOptions
3198 * @syscap SystemCapability.ArkUI.ArkUI.Full
3199 * @crossplatform
3200 * @form
3201 * @since 10
3202 */
3203/**
3204 * Defines the options of border.
3205 *
3206 * @interface BorderOptions
3207 * @syscap SystemCapability.ArkUI.ArkUI.Full
3208 * @crossplatform
3209 * @form
3210 * @atomicservice
3211 * @since 11
3212 */
3213/**
3214 * Defines the options of border.
3215 *
3216 * @interface BorderOptions
3217 * @syscap SystemCapability.ArkUI.ArkUI.Full
3218 * @crossplatform
3219 * @form
3220 * @atomicservice
3221 * @since arkts {'1.1':'12','1.2':'20'}
3222 * @arkts 1.1&1.2
3223 */
3224declare interface BorderOptions {
3225  /**
3226   * Defines the border width.
3227   *
3228   * @type { ?Length }
3229   * @syscap SystemCapability.ArkUI.ArkUI.Full
3230   * @since 7
3231   */
3232  /**
3233   * Defines the border width.
3234   *
3235   * @type { ?(EdgeWidths | Length) }
3236   * @syscap SystemCapability.ArkUI.ArkUI.Full
3237   * @form
3238   * @since 9
3239   */
3240  /**
3241   * Defines the border width.
3242   *
3243   * @type { ?(EdgeWidths | Length) }
3244   * @syscap SystemCapability.ArkUI.ArkUI.Full
3245   * @crossplatform
3246   * @form
3247   * @since 10
3248   */
3249  /**
3250   * Defines the border width.
3251   *
3252   * @type { ?(EdgeWidths | Length) }
3253   * @syscap SystemCapability.ArkUI.ArkUI.Full
3254   * @crossplatform
3255   * @form
3256   * @atomicservice
3257   * @since 11
3258   */
3259  /**
3260   * Defines the border width.
3261   *
3262   * @type { ?(EdgeWidths | Length | LocalizedEdgeWidths) }
3263   * @syscap SystemCapability.ArkUI.ArkUI.Full
3264   * @crossplatform
3265   * @form
3266   * @atomicservice
3267   * @since arkts {'1.1':'12','1.2':'20'}
3268   * @arkts 1.1&1.2
3269   */
3270  width?: EdgeWidths | Length | LocalizedEdgeWidths;
3271
3272  /**
3273   * Defines the border color.
3274   *
3275   * @type { ?ResourceColor }
3276   * @syscap SystemCapability.ArkUI.ArkUI.Full
3277   * @since 7
3278   */
3279  /**
3280   * Defines the border color.
3281   *
3282   * @type { ?(EdgeColors | ResourceColor) }
3283   * @syscap SystemCapability.ArkUI.ArkUI.Full
3284   * @form
3285   * @since 9
3286   */
3287  /**
3288   * Defines the border color.
3289   *
3290   * @type { ?(EdgeColors | ResourceColor) }
3291   * @syscap SystemCapability.ArkUI.ArkUI.Full
3292   * @crossplatform
3293   * @form
3294   * @since 10
3295   */
3296  /**
3297   * Defines the border color.
3298   *
3299   * @type { ?(EdgeColors | ResourceColor) }
3300   * @syscap SystemCapability.ArkUI.ArkUI.Full
3301   * @crossplatform
3302   * @form
3303   * @atomicservice
3304   * @since 11
3305   */
3306  /**
3307   * Defines the border color.
3308   *
3309   * @type { ?(EdgeColors | ResourceColor | LocalizedEdgeColors) }
3310   * @syscap SystemCapability.ArkUI.ArkUI.Full
3311   * @crossplatform
3312   * @form
3313   * @atomicservice
3314   * @since arkts {'1.1':'12','1.2':'20'}
3315   * @arkts 1.1&1.2
3316   */
3317  color?: EdgeColors | ResourceColor | LocalizedEdgeColors;
3318
3319  /**
3320   * Defines the border radius.
3321   *
3322   * @type { ?Length }
3323   * @syscap SystemCapability.ArkUI.ArkUI.Full
3324   * @since 7
3325   */
3326  /**
3327   * Defines the border radius.
3328   *
3329   * @type { ?(BorderRadiuses | Length) }
3330   * @syscap SystemCapability.ArkUI.ArkUI.Full
3331   * @form
3332   * @since 9
3333   */
3334  /**
3335   * Defines the border radius.
3336   *
3337   * @type { ?(BorderRadiuses | Length) }
3338   * @syscap SystemCapability.ArkUI.ArkUI.Full
3339   * @crossplatform
3340   * @form
3341   * @since 10
3342   */
3343  /**
3344   * Defines the border radius.
3345   *
3346   * @type { ?(BorderRadiuses | Length) }
3347   * @syscap SystemCapability.ArkUI.ArkUI.Full
3348   * @crossplatform
3349   * @form
3350   * @atomicservice
3351   * @since 11
3352   */
3353  /**
3354   * Defines the border radius.
3355   *
3356   * @type { ?(BorderRadiuses | Length | LocalizedBorderRadiuses) }
3357   * @syscap SystemCapability.ArkUI.ArkUI.Full
3358   * @crossplatform
3359   * @form
3360   * @atomicservice
3361   * @since arkts {'1.1':'12','1.2':'20'}
3362   * @arkts 1.1&1.2
3363   */
3364  radius?: BorderRadiuses | Length | LocalizedBorderRadiuses;
3365
3366  /**
3367   * Defines the border style.
3368   *
3369   * @type { ?BorderStyle }
3370   * @syscap SystemCapability.ArkUI.ArkUI.Full
3371   * @since 7
3372   */
3373  /**
3374   * Defines the border style.
3375   *
3376   * @type { ?(EdgeStyles | BorderStyle) }
3377   * @syscap SystemCapability.ArkUI.ArkUI.Full
3378   * @form
3379   * @since 9
3380   */
3381  /**
3382   * Defines the border style.
3383   *
3384   * @type { ?(EdgeStyles | BorderStyle) }
3385   * @syscap SystemCapability.ArkUI.ArkUI.Full
3386   * @crossplatform
3387   * @form
3388   * @since 10
3389   */
3390  /**
3391   * Defines the border style.
3392   *
3393   * @type { ?(EdgeStyles | BorderStyle) }
3394   * @syscap SystemCapability.ArkUI.ArkUI.Full
3395   * @crossplatform
3396   * @form
3397   * @atomicservice
3398   * @since arkts {'1.1':'11','1.2':'20'}
3399   * @arkts 1.1&1.2
3400   */
3401  style?: EdgeStyles | BorderStyle;
3402
3403  /**
3404   * Defines the gap of dash when BorderStyle is dashed.
3405   *
3406   * @type { ?(EdgeWidths | LengthMetrics | LocalizedEdgeWidths) }
3407   * @syscap SystemCapability.ArkUI.ArkUI.Full
3408   * @crossplatform
3409   * @atomicservice
3410   * @since arkts {'1.1':'12','1.2':'20'}
3411   * @arkts 1.1&1.2
3412   */
3413  dashGap?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths;
3414
3415  /**
3416   * Defines the length of dash when BorderStyle is dashed.
3417   *
3418   * @type { ?(EdgeWidths | LengthMetrics | LocalizedEdgeWidths) }
3419   * @syscap SystemCapability.ArkUI.ArkUI.Full
3420   * @crossplatform
3421   * @atomicservice
3422   * @since arkts {'1.1':'12','1.2':'20'}
3423   * @arkts 1.1&1.2
3424   */
3425  dashWidth?: EdgeWidths | LengthMetrics | LocalizedEdgeWidths;
3426}
3427
3428/**
3429 * Defines the options of border.
3430 *
3431 * @interface OutlineOptions
3432 * @syscap SystemCapability.ArkUI.ArkUI.Full
3433 * @crossplatform
3434 * @form
3435 * @since 11
3436 */
3437/**
3438 * Defines the options of border.
3439 *
3440 * @interface OutlineOptions
3441 * @syscap SystemCapability.ArkUI.ArkUI.Full
3442 * @crossplatform
3443 * @form
3444 * @atomicservice
3445 * @since arkts {'1.1':'12','1.2':'20'}
3446 * @arkts 1.1&1.2
3447 */
3448declare interface OutlineOptions {
3449  /**
3450   * Defines the outline width.
3451   *
3452   * @type { ?(EdgeOutlineWidths | Dimension) }
3453   * @syscap SystemCapability.ArkUI.ArkUI.Full
3454   * @crossplatform
3455   * @form
3456   * @since 11
3457   */
3458  /**
3459   * Defines the outline width.
3460   *
3461   * @type { ?(EdgeOutlineWidths | Dimension) }
3462   * @syscap SystemCapability.ArkUI.ArkUI.Full
3463   * @crossplatform
3464   * @form
3465   * @atomicservice
3466   * @since arkts {'1.1':'12','1.2':'20'}
3467   * @arkts 1.1&1.2
3468   */
3469  width?: EdgeOutlineWidths | Dimension;
3470
3471  /**
3472   * Defines the outline color.
3473   *
3474   * @type { ?(EdgeColors | ResourceColor) }
3475   * @syscap SystemCapability.ArkUI.ArkUI.Full
3476   * @crossplatform
3477   * @form
3478   * @since 11
3479   */
3480  /**
3481   * Defines the outline color.
3482   *
3483   * @type { ?(EdgeColors | ResourceColor | LocalizedEdgeColors) }
3484   * @syscap SystemCapability.ArkUI.ArkUI.Full
3485   * @crossplatform
3486   * @form
3487   * @atomicservice
3488   * @since arkts {'1.1':'12','1.2':'20'}
3489   * @arkts 1.1&1.2
3490   */
3491  color?: EdgeColors | ResourceColor | LocalizedEdgeColors;
3492
3493  /**
3494   * Defines the outline radius.
3495   *
3496   * @type { ?(OutlineRadiuses | Dimension) }
3497   * @syscap SystemCapability.ArkUI.ArkUI.Full
3498   * @crossplatform
3499   * @form
3500   * @since 11
3501   */
3502  /**
3503   * Defines the outline radius.
3504   *
3505   * @type { ?(OutlineRadiuses | Dimension) }
3506   * @syscap SystemCapability.ArkUI.ArkUI.Full
3507   * @crossplatform
3508   * @form
3509   * @atomicservice
3510   * @since arkts {'1.1':'12','1.2':'20'}
3511   * @arkts 1.1&1.2
3512   */
3513  radius?: OutlineRadiuses | Dimension;
3514
3515  /**
3516   * Defines the outline style.
3517   *
3518   * @type { ?(EdgeOutlineStyles | OutlineStyle) }
3519   * @syscap SystemCapability.ArkUI.ArkUI.Full
3520   * @crossplatform
3521   * @form
3522   * @since 11
3523   */
3524  /**
3525   * Defines the outline style.
3526   *
3527   * @type { ?(EdgeOutlineStyles | OutlineStyle) }
3528   * @syscap SystemCapability.ArkUI.ArkUI.Full
3529   * @crossplatform
3530   * @form
3531   * @atomicservice
3532   * @since arkts {'1.1':'12','1.2':'20'}
3533   * @arkts 1.1&1.2
3534   */
3535  style?: EdgeOutlineStyles | OutlineStyle;
3536}
3537
3538/**
3539 * Define the style of checkbox mark.
3540 *
3541 * @interface MarkStyle
3542 * @syscap SystemCapability.ArkUI.ArkUI.Full
3543 * @crossplatform
3544 * @since 10
3545 */
3546/**
3547 * Define the style of checkbox mark.
3548 *
3549 * @interface MarkStyle
3550 * @syscap SystemCapability.ArkUI.ArkUI.Full
3551 * @crossplatform
3552 * @atomicservice
3553 * @since arkts {'1.1':'11','1.2':'20'}
3554 * @arkts 1.1&1.2
3555 */
3556declare interface MarkStyle {
3557  /**
3558   * Define the stroke color of checkbox mark.
3559   *
3560   * @type { ?ResourceColor }
3561   * @syscap SystemCapability.ArkUI.ArkUI.Full
3562   * @crossplatform
3563   * @since 10
3564   */
3565  /**
3566   * Define the stroke color of checkbox mark.
3567   *
3568   * @type { ?ResourceColor }
3569   * @syscap SystemCapability.ArkUI.ArkUI.Full
3570   * @crossplatform
3571   * @atomicservice
3572   * @since arkts {'1.1':'11','1.2':'20'}
3573   * @arkts 1.1&1.2
3574   */
3575  strokeColor?: ResourceColor;
3576
3577  /**
3578   * Define the size of checkbox mark.
3579   *
3580   * @type { ?Length }
3581   * @syscap SystemCapability.ArkUI.ArkUI.Full
3582   * @crossplatform
3583   * @since 10
3584   */
3585  /**
3586   * Define the size of checkbox mark.
3587   *
3588   * @type { ?Length }
3589   * @syscap SystemCapability.ArkUI.ArkUI.Full
3590   * @crossplatform
3591   * @atomicservice
3592   * @since arkts {'1.1':'11','1.2':'20'}
3593   * @arkts 1.1&1.2
3594   */
3595  size?: Length;
3596
3597  /**
3598   * Define the stroke width of checkbox mark.
3599   *
3600   * @type { ?Length }
3601   * @syscap SystemCapability.ArkUI.ArkUI.Full
3602   * @crossplatform
3603   * @since 10
3604   */
3605  /**
3606   * Define the stroke width of checkbox mark.
3607   *
3608   * @type { ?Length }
3609   * @syscap SystemCapability.ArkUI.ArkUI.Full
3610   * @crossplatform
3611   * @atomicservice
3612   * @since arkts {'1.1':'11','1.2':'20'}
3613   * @arkts 1.1&1.2
3614   */
3615  strokeWidth?: Length;
3616}
3617
3618/**
3619 * Defines the ColorFilter object.
3620 *
3621 * @syscap SystemCapability.ArkUI.ArkUI.Full
3622 * @form
3623 * @since 9
3624 */
3625/**
3626 * Defines the ColorFilter object.
3627 *
3628 * @syscap SystemCapability.ArkUI.ArkUI.Full
3629 * @crossplatform
3630 * @form
3631 * @since 10
3632 */
3633/**
3634 * Defines the ColorFilter object.
3635 *
3636 * @syscap SystemCapability.ArkUI.ArkUI.Full
3637 * @crossplatform
3638 * @form
3639 * @atomicservice
3640 * @since arkts {'1.1':'11','1.2':'20'}
3641 * @arkts 1.1&1.2
3642 */
3643declare class ColorFilter {
3644  /**
3645   * Creates ColorFilter with 4*5 matrix.
3646   *
3647   * @param { number[] } value 4*5 color matrix values. The value[m*n] is located in the m row and n column. The matrix is row-first.
3648   * @syscap SystemCapability.ArkUI.ArkUI.Full
3649   * @form
3650   * @since 9
3651   */
3652  /**
3653   * Creates ColorFilter with 4*5 matrix.
3654   *
3655   * @param { number[] } value 4*5 color matrix values. The value[m*n] is located in the m row and n column. The matrix is row-first.
3656   * @syscap SystemCapability.ArkUI.ArkUI.Full
3657   * @crossplatform
3658   * @form
3659   * @since 10
3660   */
3661  /**
3662   * Creates ColorFilter with 4*5 matrix.
3663   *
3664   * @param { number[] } value 4*5 color matrix values. The value[m*n] is located in the m row and n column. The matrix is row-first.
3665   * @syscap SystemCapability.ArkUI.ArkUI.Full
3666   * @crossplatform
3667   * @form
3668   * @atomicservice
3669   * @since arkts {'1.1':'11','1.2':'20'}
3670   * @arkts 1.1&1.2
3671   */
3672  constructor(value: number[]);
3673}
3674
3675/**
3676 * Defines TouchPoint
3677 *
3678 * @interface TouchPoint
3679 * @syscap SystemCapability.ArkUI.ArkUI.Full
3680 * @since 11
3681 */
3682/**
3683 * Defines TouchPoint
3684 *
3685 * @interface TouchPoint
3686 * @syscap SystemCapability.ArkUI.ArkUI.Full
3687 * @atomicservice
3688 * @since 12
3689 */
3690/**
3691 * Defines TouchPoint
3692 *
3693 * @interface TouchPoint
3694 * @syscap SystemCapability.ArkUI.ArkUI.Full
3695 * @crossplatform
3696 * @atomicservice
3697 * @since arkts {'1.1':'18','1.2':'20'}
3698 * @arkts 1.1&1.2
3699 */
3700declare interface TouchPoint {
3701  /**
3702   * Define the touch point x coordinate.
3703   *
3704   * @type { Dimension }
3705   * @syscap SystemCapability.ArkUI.ArkUI.Full
3706   * @since 11
3707   */
3708  /**
3709   * Define the touch point x coordinate.
3710   *
3711   * @type { Dimension }
3712   * @syscap SystemCapability.ArkUI.ArkUI.Full
3713   * @atomicservice
3714   * @since 12
3715   */
3716  /**
3717   * Define the touch point x coordinate.
3718   *
3719   * @type { Dimension }
3720   * @syscap SystemCapability.ArkUI.ArkUI.Full
3721   * @crossplatform
3722   * @atomicservice
3723   * @since arkts {'1.1':'18','1.2':'20'}
3724   * @arkts 1.1&1.2
3725   */
3726  x: Dimension;
3727
3728  /**
3729   * Define the touch point y coordinate.
3730   *
3731   * @type { Dimension }
3732   * @syscap SystemCapability.ArkUI.ArkUI.Full
3733   * @since 11
3734   */
3735  /**
3736   * Define the touch point y coordinate.
3737   *
3738   * @type { Dimension }
3739   * @syscap SystemCapability.ArkUI.ArkUI.Full
3740   * @atomicservice
3741   * @since 12
3742   */
3743  /**
3744   * Define the touch point y coordinate.
3745   *
3746   * @type { Dimension }
3747   * @syscap SystemCapability.ArkUI.ArkUI.Full
3748   * @crossplatform
3749   * @atomicservice
3750   * @since arkts {'1.1':'18','1.2':'20'}
3751   * @arkts 1.1&1.2
3752   */
3753  y: Dimension;
3754}
3755
3756/**
3757 * Defines the DirectionalEdgesT interface.
3758 *
3759 * @interface DirectionalEdgesT
3760 * @syscap SystemCapability.ArkUI.ArkUI.Full
3761 * @crossplatform
3762 * @form
3763 * @atomicservice
3764 * @since arkts {'1.1':'12','1.2':'20'}
3765 * @arkts 1.1&1.2
3766 */
3767declare interface DirectionalEdgesT<T> {
3768  /**
3769   * Start edge.
3770   *
3771   * @type { T }
3772   * @syscap SystemCapability.ArkUI.ArkUI.Full
3773   * @crossplatform
3774   * @form
3775   * @atomicservice
3776   * @since arkts {'1.1':'12','1.2':'20'}
3777   * @arkts 1.1&1.2
3778   */
3779  start: T;
3780
3781  /**
3782   * End edge.
3783   *
3784   * @type { T }
3785   * @syscap SystemCapability.ArkUI.ArkUI.Full
3786   * @crossplatform
3787   * @form
3788   * @atomicservice
3789   * @since arkts {'1.1':'12','1.2':'20'}
3790   * @arkts 1.1&1.2
3791   */
3792  end: T;
3793
3794  /**
3795   * Top edge.
3796   *
3797   * @type { T }
3798   * @syscap SystemCapability.ArkUI.ArkUI.Full
3799   * @crossplatform
3800   * @form
3801   * @atomicservice
3802   * @since arkts {'1.1':'12','1.2':'20'}
3803   * @arkts 1.1&1.2
3804   */
3805  top: T;
3806
3807  /**
3808   * Bottom edge.
3809   *
3810   * @type { T }
3811   * @syscap SystemCapability.ArkUI.ArkUI.Full
3812   * @crossplatform
3813   * @form
3814   * @atomicservice
3815   * @since arkts {'1.1':'12','1.2':'20'}
3816   * @arkts 1.1&1.2
3817   */
3818  bottom: T;
3819}
3820
3821/**
3822 * Defines the struct of DividerStyleOptions.
3823 *
3824 * @interface DividerStyleOptions
3825 * @syscap SystemCapability.ArkUI.ArkUI.Full
3826 * @crossplatform
3827 * @atomicservice
3828 * @since arkts {'1.1':'12','1.2':'20'}
3829 * @arkts 1.1&1.2
3830 */
3831declare interface DividerStyleOptions {
3832  /**
3833   * The strokeWidth of Divider.
3834   *
3835   * @type { ?LengthMetrics }
3836   * @syscap SystemCapability.ArkUI.ArkUI.Full
3837   * @crossplatform
3838   * @atomicservice
3839   * @since arkts {'1.1':'12','1.2':'20'}
3840   * @arkts 1.1&1.2
3841   */
3842  strokeWidth?: LengthMetrics;
3843
3844  /**
3845   * The color of Divider.
3846   *
3847   * @type { ?ResourceColor }
3848   * @syscap SystemCapability.ArkUI.ArkUI.Full
3849   * @crossplatform
3850   * @atomicservice
3851   * @since arkts {'1.1':'12','1.2':'20'}
3852   * @arkts 1.1&1.2
3853   */
3854  color?: ResourceColor;
3855
3856  /**
3857   * The startMargin of Divider.
3858   *
3859   * @type { ?LengthMetrics }
3860   * @syscap SystemCapability.ArkUI.ArkUI.Full
3861   * @crossplatform
3862   * @atomicservice
3863   * @since arkts {'1.1':'12','1.2':'20'}
3864   * @arkts 1.1&1.2
3865   */
3866  startMargin?: LengthMetrics;
3867
3868  /**
3869   * The endMargin of Divider.
3870   *
3871   * @type { ?LengthMetrics }
3872   * @syscap SystemCapability.ArkUI.ArkUI.Full
3873   * @crossplatform
3874   * @atomicservice
3875   * @since arkts {'1.1':'12','1.2':'20'}
3876   * @arkts 1.1&1.2
3877   */
3878  endMargin?: LengthMetrics;
3879
3880  /**
3881   * The mode of Divider.
3882   *
3883   * @type { ?DividerMode }
3884   * @syscap SystemCapability.ArkUI.ArkUI.Full
3885   * @crossplatform
3886   * @atomicservice
3887   * @since arkts {'1.1':'19','1.2':'20'}
3888   * @arkts 1.1&1.2
3889   */
3890  mode?: DividerMode;
3891}
3892
3893/**
3894 * Defines the ChainWeightOptions interface.
3895 *
3896 * @interface ChainWeightOptions
3897 * @syscap SystemCapability.ArkUI.ArkUI.Full
3898 * @crossplatform
3899 * @atomicservice
3900 * @since arkts {'1.1':'14','1.2':'20'}
3901 * @arkts 1.1&1.2
3902 */
3903declare interface ChainWeightOptions {
3904  /**
3905   * Horizontal ChainWeight.
3906   *
3907   * @type { ?(number) }
3908   * @syscap SystemCapability.ArkUI.ArkUI.Full
3909   * @crossplatform
3910   * @atomicservice
3911   * @since arkts {'1.1':'14','1.2':'20'}
3912   * @arkts 1.1&1.2
3913   */
3914  horizontal?: number;
3915
3916  /**
3917   * Vertical ChainWeight.
3918   *
3919   * @type { ?(number) }
3920   * @syscap SystemCapability.ArkUI.ArkUI.Full
3921   * @crossplatform
3922   * @atomicservice
3923   * @since arkts {'1.1':'14','1.2':'20'}
3924   * @arkts 1.1&1.2
3925   */
3926  vertical?: number;
3927}
3928
3929/**
3930 * Defines the struct of AccessibilityOptions.
3931 *
3932 * @interface AccessibilityOptions
3933 * @syscap SystemCapability.ArkUI.ArkUI.Full
3934 * @crossplatform
3935 * @atomicservice
3936 * @since arkts {'1.1':'14','1.2':'20'}
3937 * @arkts 1.1&1.2
3938 */
3939declare interface AccessibilityOptions {
3940  /**
3941   * accessibilityPreferred - Should accessibilityText be prioritized when contatenating child component strings.
3942   *
3943   * @type { ?(boolean) }
3944   * @syscap SystemCapability.ArkUI.ArkUI.Full
3945   * @crossplatform
3946   * @atomicservice
3947   * @since arkts {'1.1':'14','1.2':'20'}
3948   * @arkts 1.1&1.2
3949   */
3950  accessibilityPreferred?: boolean;
3951}
3952
3953/**
3954 * Define scrollbar margin options.
3955 *
3956 * @interface ScrollBarMargin
3957 * @syscap SystemCapability.ArkUI.ArkUI.Full
3958 * @atomicservice
3959 * @since 20
3960 */
3961declare interface ScrollBarMargin {
3962  /**
3963   * Start margin of the scroll bar.
3964   *
3965   * @type { ?LengthMetrics }
3966   * @syscap SystemCapability.ArkUI.ArkUI.Full
3967   * @atomicservice
3968   * @since 20
3969   */
3970  start?: LengthMetrics;
3971
3972  /**
3973   * End margin of the scroll bar.
3974   *
3975   * @type { ?LengthMetrics }
3976   * @syscap SystemCapability.ArkUI.ArkUI.Full
3977   * @atomicservice
3978   * @since 20
3979   */
3980  end?: LengthMetrics;
3981}