performLayout abstract method

void performLayout(
  1. Constraints constraints
)

Layout protocol: given constraints, compute size and position.

Subclasses implement performLayout; callers should invoke layout so the base class can manage future caching.

Implementation

void performLayout(Constraints constraints);