Gallery

71 figures · Open a figure to explore its code.

layout (11)

geometry (10)

plotting (16)

maps (9)

networks (6)

text (5)

math (12)

api (2)

(group_anchors)

Anchors in nested canvases

Each nested Group has its own local reference rectangle. All three boxes use the same fractional position, (0.5, 0.5), marked by a dark dot. Their anchors place the start, center, or end of the allocated box at that point.

The three panels stay side by side. Their measured sizes and gaps determine the outer size; fit on the root preserves the comparison in smaller viewports.

The child box includes its inside border when determining its anchor. See Positioning for placement and coordinate rules and Point values for coordinate and anchor forms.