shape property

Shape get shape

This node's shape.

If the shape has a size of zero, it falls back to the inherited shape.

Implementation

Shape get shape => _shape.size.isZero ? _inherited.shape : _shape;
set shape (Shape value)

Sets this node's own shape. Nodes sized by their content refuse one.

Implementation

set shape(Shape value) => _shape = value;