private ZoomOptions getZoomOptions() {
    ImageEditor editor = this.editor;
    if (editor != null) {
      ZoomOptions options = editor.getZoomModel().getCustomZoomOptions();
      if (options != null) {
        return options;
      }
    }
    Options options = OptionsManager.getInstance().getOptions();
    return options.getEditorOptions().getZoomOptions();
  }
private ZoomOptions getZoomOptions()