Node.marginBoxForSpace

Get the node's margin box for given available space. The margin box, nor the available space aren't typically given to a node, but this may be useful for its parent nodes.

class Node
const
Rectangle
marginBoxForSpace
(
Rectangle space
)

Parameters

space Rectangle

Available space box assigned for the node.

Return Value

Type: Rectangle

The margin box calculated from the given space rectangle.

Meta