• Sets the MarginBox for a given node.

    Parameters

    • node: HTMLElement

      a dom node

    • marginBox: Partial<MarginBox>

      Position and dimension for the MarginBox (left, top, width and height). All properties are optional.

    Returns void