Styling ======= Shapes and text take style qualifiers. Boxes accept ``fill``, ``stroke``, and ``dashed``; colours are names or ``#rgb``/``#rrggbb`` hex: .. sheeptext:: :alt: A yellow box with a dark dashed border box "Styled" fill yellow stroke #222 dashed at (200, 100) Text takes ``fill``, ``textsize``, ``bold``, and ``italic``, alongside the alignment qualifiers from the previous page: .. sheeptext:: :alt: A large bold blue heading text "Heading" fill #336699 textsize 18 bold italic align center at (200, 80) You can anchor a shape by a named point using ``with`` — for example place its north-west corner (``.nw``) at a coordinate: .. sheeptext:: :alt: A box anchored by its north-west corner box "anchored" with .nw at (60, 60) Next: connect shapes precisely with :doc:`anchors`.