cameraFocus property

Point<double> get cameraFocus

Get the follow position camera focus in viewport coordinates ( between 0.f = left / top and 1.f = right / bottom )

Returns

  • The camera focus position

Throws

  • An exception if it fails.

Implementation

Point<double> get cameraFocus {
  final OperationResult resultString = objectMethod(
    _pointerId,
    'FollowPositionPreferences',
    'getCameraFocus',
  );

  return XyType<double>.fromJson(resultString['result']).toPoint();
}