@@ -27,7 +27,7 @@ Get [AddOnData](AddOnData.md) reference for managing the private metadata on thi
27
27
28
28
### allChildren
29
29
30
- • ` get ` ** allChildren** (): ` Readonly ` \ <` Iterable ` \ <[ ` Node ` ] ( Node.md ) , ` any ` , ` any ` \>\>
30
+ • ` get ` ** allChildren** (): ` Readonly ` <` Iterable ` <[ ` Node ` ] ( Node.md ) , ` any ` , ` any ` \>\>
31
31
32
32
Returns a read-only list of all children of the node. General-purpose content containers such as ArtboardNode or
33
33
GroupNode also provide a mutable [ ContainerNode.children] ( ../interfaces/ContainerNode.md#children ) list. Other nodes with a more specific structure can
@@ -38,7 +38,7 @@ The children of a Node are always other Node classes (never the more minimal Bas
38
38
39
39
#### Returns
40
40
41
- ` Readonly ` \ <` Iterable ` \ <[ ` Node ` ] ( Node.md ) , ` any ` , ` any ` \>\>
41
+ ` Readonly ` <` Iterable ` <[ ` Node ` ] ( Node.md ) , ` any ` , ` any ` \>\>
42
42
43
43
---
44
44
@@ -63,7 +63,7 @@ Blend mode determines how a node is composited onto the content below it. The de
63
63
64
64
### boundsInParent
65
65
66
- • ` get ` ** boundsInParent** (): ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
66
+ • ` get ` ** boundsInParent** (): ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
67
67
68
68
An axis-aligned box in the parent’s coordinate space encompassing the node’s layout bounds (its
69
69
[ boundsLocal] ( VisualNode.md#boundslocal ) , as transformed by its position and rotation relative to the parent). If the node has
@@ -73,7 +73,7 @@ even for an orphan node with no parent.
73
73
74
74
#### Returns
75
75
76
- ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
76
+ ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
77
77
78
78
Note: The bounding box of an orphaned TextNode may become different after it is placed on a
79
79
page. It is recommended to use this property only when the node is placed on a page.
@@ -82,7 +82,7 @@ page. It is recommended to use this property only when the node is placed on a p
82
82
83
83
### boundsLocal
84
84
85
- • ` get ` ** boundsLocal** (): ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
85
+ • ` get ` ** boundsLocal** (): ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
86
86
87
87
The bounding box of the node, expressed in the node's local coordinate space (which may be shifted or rotated
88
88
relative to its parent). Generally matches the selection outline seen in the UI, encompassing the vector path
@@ -93,7 +93,7 @@ The top-left corner of the bounding box corresponds to the visual top-left corne
93
93
94
94
#### Returns
95
95
96
- ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
96
+ ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
97
97
98
98
Note: The bounding box of the orphaned TextNode may be different from the bounding box of the node placed on a
99
99
page. It is recommended to use this property only when the node is placed on a page.
@@ -102,13 +102,13 @@ page. It is recommended to use this property only when the node is placed on a p
102
102
103
103
### centerPointLocal
104
104
105
- • ` get ` ** centerPointLocal** (): ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
105
+ • ` get ` ** centerPointLocal** (): ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
106
106
107
107
Position of the node's centerpoint in its own local coordinate space, i.e. the center of the boundsLocal box.
108
108
109
109
#### Returns
110
110
111
- ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
111
+ ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
112
112
113
113
Note: The center of the orphaned TextNode may be different from the center of the node placed on a page. It is
114
114
recommended to use this property only when the node is placed on a page.
@@ -149,7 +149,7 @@ moved to a different part of the document.
149
149
150
150
### layout
151
151
152
- • ` get ` ** layout** (): ` Readonly ` \ <[ ` AutoWidthTextLayout ` ] ( ../interfaces/AutoWidthTextLayout.md ) \| [ ` AutoHeightTextLayout ` ] ( ../interfaces/AutoHeightTextLayout.md ) \| [ ` UnsupportedTextLayout ` ] ( ../interfaces/UnsupportedTextLayout.md ) \>
152
+ • ` get ` ** layout** (): ` Readonly ` <[ ` AutoWidthTextLayout ` ] ( ../interfaces/AutoWidthTextLayout.md ) \| [ ` AutoHeightTextLayout ` ] ( ../interfaces/AutoHeightTextLayout.md ) \| [ ` UnsupportedTextLayout ` ] ( ../interfaces/UnsupportedTextLayout.md ) \>
153
153
154
154
<InlineAlert slots =" text " variant =" warning " />
155
155
@@ -179,7 +179,7 @@ if [StandaloneTextNode](StandaloneTextNode.md) is not a part of a multi-frame te
179
179
180
180
#### Returns
181
181
182
- ` Readonly ` \ <[ ` AutoWidthTextLayout ` ] ( ../interfaces/AutoWidthTextLayout.md ) \| [ ` AutoHeightTextLayout ` ] ( ../interfaces/AutoHeightTextLayout.md ) \| [ ` UnsupportedTextLayout ` ] ( ../interfaces/UnsupportedTextLayout.md ) \>
182
+ ` Readonly ` <[ ` AutoWidthTextLayout ` ] ( ../interfaces/AutoWidthTextLayout.md ) \| [ ` AutoHeightTextLayout ` ] ( ../interfaces/AutoHeightTextLayout.md ) \| [ ` UnsupportedTextLayout ` ] ( ../interfaces/UnsupportedTextLayout.md ) \>
183
183
184
184
The layout mode of the TextNode "frame."
185
185
@@ -334,15 +334,15 @@ The horizontal text alignment of the TextNode. Alignment is always the same acro
334
334
335
335
### topLeftLocal
336
336
337
- • ` get ` ** topLeftLocal** (): ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
337
+ • ` get ` ** topLeftLocal** (): ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
338
338
339
339
Position of the node's top-left corner in its own local coordinate space, equal to (boundsLocal.x,
340
340
boundsLocal.y). If the node is rotated, this is not the same as the top-left corner of
341
341
boundsInParent.
342
342
343
343
#### Returns
344
344
345
- ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
345
+ ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
346
346
347
347
Note: The top-left of the orphaned TextNode may be different from the top-left of the node placed on a
348
348
page. It is recommended to use this property only when the node is placed on a page.
@@ -363,7 +363,7 @@ The node's transform matrix relative to its parent.
363
363
364
364
### translation
365
365
366
- • ` get ` ** translation** (): ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
366
+ • ` get ` ** translation** (): ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
367
367
368
368
The translation of the node along its parent's axes. This is identical to the translation component of
369
369
` transformMatrix ` . It is often simpler to set a node's position using ` setPositionInParent ` than by
@@ -377,7 +377,7 @@ setting translation directly.
377
377
378
378
#### Returns
379
379
380
- ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
380
+ ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
381
381
382
382
---
383
383
@@ -424,7 +424,7 @@ meaningful comparison or conversion between the bounds or coordinate spaces of s
424
424
425
425
### boundsInNode()
426
426
427
- • ** boundsInNode** (` targetNode ` ): ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
427
+ • ** boundsInNode** (` targetNode ` ): ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
428
428
429
429
Convert the node's [ boundsLocal] ( VisualNode.md#boundslocal ) to an axis-aligned bounding box in the coordinate space of the target
430
430
node. Both nodes must share the same [ visualRoot] ( VisualNode.md#visualroot ) , but can lie anywhere within that subtree
@@ -436,7 +436,7 @@ relative to one another (the target node need not be an ancestor of this node, n
436
436
437
437
#### Returns
438
438
439
- ` Readonly ` \ <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
439
+ ` Readonly ` <[ ` Rect ` ] ( ../interfaces/Rect.md ) \>
440
440
441
441
Note: The bounding box of an orphaned TextNode may become different after it is placed on a
442
442
page. It is recommended to use this method only when the node is placed on a page.
@@ -481,7 +481,7 @@ Helper method to determine if the text is in a flow.
481
481
482
482
### localPointInNode()
483
483
484
- • ** localPointInNode** (` localPoint ` , ` targetNode ` ): ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
484
+ • ** localPointInNode** (` localPoint ` , ` targetNode ` ): ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
485
485
486
486
Convert a point given in the node’s local coordinate space to a point in the coordinate space of the target node.
487
487
Both nodes must share the same [ visualRoot] ( VisualNode.md#visualroot ) , but can lie anywhere within that subtree relative to one
@@ -495,7 +495,7 @@ another (the target node need not be an ancestor of this node, nor vice versa).
495
495
496
496
#### Returns
497
497
498
- ` Readonly ` \ <[ ` Point ` ] ( ../interfaces/Point.md ) \>
498
+ ` Readonly ` <[ ` Point ` ] ( ../interfaces/Point.md ) \>
499
499
500
500
#### Inherited from
501
501
0 commit comments