arrangeElement method

void arrangeElement(
  1. GraphObject obj,
  2. num x,
  3. num y,
  4. num width,
  5. num height, [
  6. Rect? clipRect,
])

Arranges the GraphObject onto its parent Panel. The passed-in numbers typically account for GraphObject#margin and other offsets. The x and y coordinates are where GraphObjects will be placed within the Panel's own coordinates (from the Panel's top-left corner). The width and height are the size it will take up within the Panel's coordinates.

This sets the GraphObject#actualBounds of the obj.

Implementation

void arrangeElement(
  _i3.GraphObject obj,
  _i2.num x,
  _i2.num y,
  _i2.num width,
  _i2.num height, [
  _i3.Rect? clipRect,
]) {
  _i4.callMethod(
    this,
    'arrangeElement',
    [
      obj,
      x,
      y,
      width,
      height,
      clipRect ?? _i5.undefined,
    ],
  );
}