Page
The page of the final image, as a box.
Node id core/page
The Page node gives the area of the final image as a BoundingBox, from (0, 0) at the top-left corner to the page's width and height. Use it to lay a drawing out against the page instead of typing its size by hand: when the page size changes, every value taken from the Page node follows.
Inputs
None.
Outputs
| Name | Type | Notes |
|---|---|---|
| bounds | BoundingBox |
Behaviour
- Page size. The size is set in the Image drawer, on the right of the image area. Changing it re-runs the Page nodes and the nodes that use their box, and nothing else.
- Size, corners and center. Connect
boundsto a Break BoundingBox for itswidth,height, four corners andcenter, e.g. to put a shape at the middle of the page. - Filling the page. Connect
boundsto theareaof a lattice node, such as Orthogonal Grid, to cover the whole page with points. - Anywhere. A Page node can be placed in any graph, including subgraph bodies, such as a Map function, and gives the same box everywhere. A graph can have several of them.
- Not drawn. The box only describes the page. Objects outside it are still evaluated; the page only marks the part that is the final image.
Errors
The Page node has no errors of its own.
Related nodes
- Output: draws the objects on the page.
- AABB: the box around an object, to compare with the page's.
- Contains Point: whether a point lies on the page.