You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**visible** | **bool** | Whether this effect is visible |
8
+
**radius** | **f64** | The blur radius |
9
+
10
+
[[Back to Model list]](../README.md#documentation-for-models)[[Back to API list]](../README.md#documentation-for-api-endpoints)[[Back to README]](../README.md)
**id** | **String** | A string uniquely identifying this node within the document. |
8
8
**name** | **String** | The name given to the node by the user in the tool. |
9
-
**r#type** | **String** | The type of this node, represented by the string literal \"BOOLEAN_OPERATION\" |
10
9
**visible** | Option<**bool**> | Whether or not the node is visible on the canvas. | [optional][default to true]
11
10
**locked** | Option<**bool**> | If true, layer is locked and cannot be edited | [optional][default to false]
12
11
**is_fixed** | Option<**bool**> | Whether the layer is fixed while the parent is scrolling | [optional][default to false]
@@ -20,14 +19,12 @@ Name | Type | Description | Notes
20
19
**blend_mode** | [**models::BlendMode**](BlendMode.md) | How this node blends with nodes behind it in the scene (see blend mode section for more details) |
21
20
**opacity** | Option<**f64**> | Opacity of the node | [optional][default to 1]
22
21
**children** | [**Vec<models::SubcanvasNode>**](SubcanvasNode.md) | An array of nodes that are direct children of this node |
**preserve_ratio** | Option<**bool**> | Keep height and width constrained to same ratio. | [optional][default to false]
26
23
**constraints** | Option<[**models::LayoutConstraint**](LayoutConstraint.md)> | Horizontal and vertical layout constraints for node. | [optional]
27
24
**relative_transform** | Option<[**Vec<Vec<f64>>**](Vec.md)> | A transformation matrix is standard way in computer graphics to represent translation and rotation. These are the top two rows of a 3x3 matrix. The bottom row of the matrix is assumed to be [0, 0, 1]. This is known as an affine transform and is enough to represent translation, rotation, and skew. The identity transform is [[1, 0, 0], [0, 1, 0]]. A translation matrix will typically look like: ``` [[1, 0, tx], [0, 1, ty]] ``` and a rotation matrix will typically look like: ``` [[cos(angle), sin(angle), 0], [-sin(angle), cos(angle), 0]] ``` Another way to think about this transform is as three vectors: - The x axis (t[0][0], t[1][0]) - The y axis (t[0][1], t[1][1]) - The translation offset (t[0][2], t[1][2]) The most common usage of the Transform matrix is the `relativeTransform property`. This particular usage of the matrix has a few additional restrictions. The translation offset can take on any value but we do enforce that the axis vectors are unit vectors (i.e. have length 1). The axes are not required to be at 90° angles to each other. | [optional]
28
25
**size** | Option<[**models::Vector**](Vector.md)> | Width and height of element. This is different from the width and height of the bounding box in that the absolute bounding box represents the element after scaling and rotation. Only present if `geometry=paths` is passed. | [optional]
29
26
**layout_align** | Option<**String**> | Determines if the layer should stretch along the parent's counter axis. This property is only provided for direct children of auto-layout frames. - `INHERIT` - `STRETCH` In previous versions of auto layout, determined how the layer is aligned inside an auto-layout frame. This property is only provided for direct children of auto-layout frames. - `MIN` - `CENTER` - `MAX` - `STRETCH` In horizontal auto-layout frames, \"MIN\" and \"MAX\" correspond to \"TOP\" and \"BOTTOM\". In vertical auto-layout frames, \"MIN\" and \"MAX\" correspond to \"LEFT\" and \"RIGHT\". | [optional]
30
-
**layout_grow** | Option<**f64**> | This property is applicable only for direct children of auto-layout frames, ignored otherwise. Determines whether a layer should stretch along the parent's primary axis. A `0` corresponds to a fixed size and `1` corresponds to stretch. | [optional][default to Variant0]
27
+
**layout_grow** | Option<**f64**> | This property is applicable only for direct children of auto-layout frames, ignored otherwise. Determines whether a layer should stretch along the parent's primary axis. A `0` corresponds to a fixed size and `1` corresponds to stretch. | [optional][default to 0]
31
28
**layout_positioning** | Option<**String**> | Determines whether a layer's size and position should be determined by auto-layout settings or manually adjustable. | [optional][default to Auto]
32
29
**min_width** | Option<**f64**> | The minimum width of the frame. This property is only applicable for auto-layout frames or direct children of auto-layout frames. | [optional][default to 0]
33
30
**max_width** | Option<**f64**> | The maximum width of the frame. This property is only applicable for auto-layout frames or direct children of auto-layout frames. | [optional][default to 0]
@@ -42,7 +39,6 @@ Name | Type | Description | Notes
42
39
**stroke_align** | Option<**String**> | Position of stroke relative to vector outline, as a string enum - `INSIDE`: stroke drawn inside the shape boundary - `OUTSIDE`: stroke drawn outside the shape boundary - `CENTER`: stroke drawn centered along the shape boundary | [optional]
43
40
**stroke_join** | Option<**String**> | A string enum with value of \"MITER\", \"BEVEL\", or \"ROUND\", describing how corners in vector paths are rendered. | [optional][default to Miter]
44
41
**stroke_dashes** | Option<**Vec<f64>**> | An array of floating point numbers describing the pattern of dash length and gap lengths that the vector stroke will use when drawn. For example a value of [1, 2] indicates that the stroke will be drawn with a dash of length 1 followed by a gap of length 2, repeated. | [optional]
45
-
**fill_override_table** | Option<[**std::collections::HashMap<String, models::HasGeometryTraitAllOfFillOverrideTable>**](HasGeometryTrait_allOf_fillOverrideTable.md)> | Map from ID to PaintOverride for looking up fill overrides. To see which regions are overriden, you must use the `geometry=paths` option. Each path returned may have an `overrideID` which maps to this table. | [optional]
46
42
**fill_geometry** | Option<[**Vec<models::Path>**](Path.md)> | Only specified if parameter `geometry=paths` is used. An array of paths representing the object fill. | [optional]
47
43
**stroke_geometry** | Option<[**Vec<models::Path>**](Path.md)> | Only specified if parameter `geometry=paths` is used. An array of paths representing the object stroke. | [optional]
48
44
**stroke_cap** | Option<**String**> | A string enum describing the end caps of vector paths. | [optional][default to None]
**id** | **String** | A string uniquely identifying this node within the document. |
8
8
**name** | **String** | The name given to the node by the user in the tool. |
9
-
**r#type** | **String** | The type of this node, represented by the string literal \"COMPONENT\" |
10
9
**visible** | Option<**bool**> | Whether or not the node is visible on the canvas. | [optional][default to true]
11
10
**locked** | Option<**bool**> | If true, layer is locked and cannot be edited | [optional][default to false]
12
11
**is_fixed** | Option<**bool**> | Whether the layer is fixed while the parent is scrolling | [optional][default to false]
@@ -20,14 +19,12 @@ Name | Type | Description | Notes
20
19
**blend_mode** | [**models::BlendMode**](BlendMode.md) | How this node blends with nodes behind it in the scene (see blend mode section for more details) |
21
20
**opacity** | Option<**f64**> | Opacity of the node | [optional][default to 1]
22
21
**children** | [**Vec<models::SubcanvasNode>**](SubcanvasNode.md) | An array of nodes that are direct children of this node |
**preserve_ratio** | Option<**bool**> | Keep height and width constrained to same ratio. | [optional][default to false]
26
23
**constraints** | Option<[**models::LayoutConstraint**](LayoutConstraint.md)> | Horizontal and vertical layout constraints for node. | [optional]
27
24
**relative_transform** | Option<[**Vec<Vec<f64>>**](Vec.md)> | A transformation matrix is standard way in computer graphics to represent translation and rotation. These are the top two rows of a 3x3 matrix. The bottom row of the matrix is assumed to be [0, 0, 1]. This is known as an affine transform and is enough to represent translation, rotation, and skew. The identity transform is [[1, 0, 0], [0, 1, 0]]. A translation matrix will typically look like: ``` [[1, 0, tx], [0, 1, ty]] ``` and a rotation matrix will typically look like: ``` [[cos(angle), sin(angle), 0], [-sin(angle), cos(angle), 0]] ``` Another way to think about this transform is as three vectors: - The x axis (t[0][0], t[1][0]) - The y axis (t[0][1], t[1][1]) - The translation offset (t[0][2], t[1][2]) The most common usage of the Transform matrix is the `relativeTransform property`. This particular usage of the matrix has a few additional restrictions. The translation offset can take on any value but we do enforce that the axis vectors are unit vectors (i.e. have length 1). The axes are not required to be at 90° angles to each other. | [optional]
28
25
**size** | Option<[**models::Vector**](Vector.md)> | Width and height of element. This is different from the width and height of the bounding box in that the absolute bounding box represents the element after scaling and rotation. Only present if `geometry=paths` is passed. | [optional]
29
26
**layout_align** | Option<**String**> | Determines if the layer should stretch along the parent's counter axis. This property is only provided for direct children of auto-layout frames. - `INHERIT` - `STRETCH` In previous versions of auto layout, determined how the layer is aligned inside an auto-layout frame. This property is only provided for direct children of auto-layout frames. - `MIN` - `CENTER` - `MAX` - `STRETCH` In horizontal auto-layout frames, \"MIN\" and \"MAX\" correspond to \"TOP\" and \"BOTTOM\". In vertical auto-layout frames, \"MIN\" and \"MAX\" correspond to \"LEFT\" and \"RIGHT\". | [optional]
30
-
**layout_grow** | Option<**f64**> | This property is applicable only for direct children of auto-layout frames, ignored otherwise. Determines whether a layer should stretch along the parent's primary axis. A `0` corresponds to a fixed size and `1` corresponds to stretch. | [optional][default to Variant0]
27
+
**layout_grow** | Option<**f64**> | This property is applicable only for direct children of auto-layout frames, ignored otherwise. Determines whether a layer should stretch along the parent's primary axis. A `0` corresponds to a fixed size and `1` corresponds to stretch. | [optional][default to 0]
31
28
**layout_positioning** | Option<**String**> | Determines whether a layer's size and position should be determined by auto-layout settings or manually adjustable. | [optional][default to Auto]
32
29
**min_width** | Option<**f64**> | The minimum width of the frame. This property is only applicable for auto-layout frames or direct children of auto-layout frames. | [optional][default to 0]
33
30
**max_width** | Option<**f64**> | The maximum width of the frame. This property is only applicable for auto-layout frames or direct children of auto-layout frames. | [optional][default to 0]
@@ -65,7 +62,6 @@ Name | Type | Description | Notes
65
62
**stroke_align** | Option<**String**> | Position of stroke relative to vector outline, as a string enum - `INSIDE`: stroke drawn inside the shape boundary - `OUTSIDE`: stroke drawn outside the shape boundary - `CENTER`: stroke drawn centered along the shape boundary | [optional]
66
63
**stroke_join** | Option<**String**> | A string enum with value of \"MITER\", \"BEVEL\", or \"ROUND\", describing how corners in vector paths are rendered. | [optional][default to Miter]
67
64
**stroke_dashes** | Option<**Vec<f64>**> | An array of floating point numbers describing the pattern of dash length and gap lengths that the vector stroke will use when drawn. For example a value of [1, 2] indicates that the stroke will be drawn with a dash of length 1 followed by a gap of length 2, repeated. | [optional]
68
-
**fill_override_table** | Option<[**std::collections::HashMap<String, models::HasGeometryTraitAllOfFillOverrideTable>**](HasGeometryTrait_allOf_fillOverrideTable.md)> | Map from ID to PaintOverride for looking up fill overrides. To see which regions are overriden, you must use the `geometry=paths` option. Each path returned may have an `overrideID` which maps to this table. | [optional]
69
65
**fill_geometry** | Option<[**Vec<models::Path>**](Path.md)> | Only specified if parameter `geometry=paths` is used. An array of paths representing the object fill. | [optional]
70
66
**stroke_geometry** | Option<[**Vec<models::Path>**](Path.md)> | Only specified if parameter `geometry=paths` is used. An array of paths representing the object stroke. | [optional]
71
67
**stroke_cap** | Option<**String**> | A string enum describing the end caps of vector paths. | [optional][default to None]
0 commit comments