constrainBehavior method

ShapeBehavior constrainBehavior(
  1. ShapeBehavior behavior
)

Narrows what the owning shape permits while it holds this content, such as a table that sizes its own rows.

Implementation

ShapeBehavior constrainBehavior(ShapeBehavior behavior) => behavior;