scaleCenter method

void scaleCenter(
  1. int direction,
  2. int minFocal,
  3. int maxFocal,
  4. double minScale,
  5. double maxScale,
  6. double threshold,
  7. double x,
  8. double y,
)

Implementation

void scaleCenter(int direction, int minFocal, int maxFocal, double minScale,
    double maxScale, double threshold, double x, double y) {
  if (appPlayerSetScale == null) return;
  if (minScale < 1.0) minScale = 1.0;
  if (maxScale < 1.0) maxScale = 1.0;
  appPlayerSetScaleCenter(playerId, minScale, maxScale, minFocal, maxFocal,
      direction, threshold, x, y);
}