measureElement method

void measureElement(
  1. GraphObject obj,
  2. num width,
  3. num height,
  4. num minw,
  5. num minh,
)

Given the available size, measure one element of the Panel and determine its expected drawing size. This sets the GraphObject#measuredBounds of the object, which can then be used to determine the arrangement of objects in the PanelLayout.

Implementation

void measureElement(
  _i3.GraphObject obj,
  _i2.num width,
  _i2.num height,
  _i2.num minw,
  _i2.num minh,
) {
  _i4.callMethod(
    this,
    'measureElement',
    [
      obj,
      width,
      height,
      minw,
      minh,
    ],
  );
}