alignDocument method

void alignDocument(
  1. Spot documentspot,
  2. Spot viewportspot
)

Aligns the Diagram's #position based on a desired document Spot and viewport Spot. @param {Spot} documentspot @param {Spot} viewportspot

Implementation

void alignDocument(
  _i3.Spot documentspot,
  _i3.Spot viewportspot,
) {
  _i4.callMethod(
    this,
    'alignDocument',
    [
      documentspot,
      viewportspot,
    ],
  );
}