Nothing

Attach a drawable to geometry

Place an object on bounds, along a contour, or at a vertex and keep it there through edits.

Read as Markdown

Put the attached shape, group, or sequence inside the shape that owns the geometry. That nearest enclosing shape is its host. A top-level drawable uses the scene viewport as its host. Groups and inline sequences pass through the nearest host to their children and can transform those children in the ordinary way. A referenced scene starts with its own viewport and hosts. Host rules

To attach at…UseExample
A point in the host’s boundsu and/or vu="1" v="0.5" places the attachment at the midpoint of the right edge. Use this for a card badge or a marker at the edge of a caption box.
A share of one directed contouralongalong="0.5" goes halfway by distance. Add orient="auto" to face the outgoing tangent.
A particular authored pointvertexvertex="1" follows the second point, counting from zero. vertex="1.5" is halfway along the next stretch. An automatically oriented interior vertex faces the bisector of the incoming and outgoing directions.

Use one locator kind for each drawable. A path with separate subpaths supplies bounds, but has no single contour for along. Text supplies layout bounds. Its glyph outlines have separate uses in masks and booleans. Available locators by geometry

Keep a badge mounted during resize

In the card case, inspect the drawable with both u and v set. Edit the host rectangle’s width and sample again. A bounds locator follows the new extent while the badge keeps its own size. Scaling the enclosing shape instead scales both the host and the attached content. Place the badge after the geometry element to paint it above the host’s paint. The same child placed before the geometry paints below it. Placement and paint order

For a timed example, animate an arrowhead that follows a route. Its keyed locator and stroke trim use the same distance. Ordinary drawable translation adds a relative offset at the attached point. If automatic facing is on, the offset turns with the contour. Attachment transforms

On this page