Node.draw

Draw this node at the specified location from within of another (parent) node.

The drawn node will be aligned according to the layout field within the box given.

  1. void draw()
  2. void draw(Rectangle space)
    class Node
    protected final @trusted
    void
    draw

Parameters

space Rectangle

Space the node should be drawn in. It should be limited to space within the parent node. If the node can't fit, it will be cropped.

Meta