11.4. Shapes in Shapes aka. Subshapes
Prev | Chapter 11. Custom Shape Module | Next

## 11.4. Shapes in Shapes aka. Subshapes

Adding indepentently resizable symbols into your custom shapes is possible by creating subshapes. This is done by some extra attributes on the group element.

`
<svg:g
subshape="true"
v_anchor="fixed.bottom"
h_anchor="fixed.left"
default_scale="1.0">
`

v_anchor[Definition: Supported values: `"fixed.top"` `"fixed.bottom"` `"proportional"` ]
  The vertical anchoring of the subshape.
h_anchor [Definition: Supported values are: `"fixed.left"` `"fixed.right"` `"proportional"` ]
  The horizontal anchoring of the subshape.
default_scale
  currently unused

Prev | Up | Next
11.3. The Shape Description | Home | 11.5. Extented Attributes