performLayout abstract method

void performLayout(
  1. Constraints constraints
)

Layout protocol: given constraints, compute size and position.

Subclasses implement performLayout; parents must invoke layout, which runs it and then clears the needs-layout flag.

Implementation

void performLayout(Constraints constraints);