function ImageEditorMode(name, title) {
  this.name = name;
  this.title = title;
  this.message_ = 'GALLERY_ENTER_WHEN_DONE';

  /**
   * @type {boolean}
   */
  this.implicitCommit = false;

  /**
   * @type {boolean}
   */
  this.instant = false;

  /**
   * @type {number}
   */
  this.paddingTop = 0;

  /**
   * @type {number}
   */
  this.paddingBottom = 0;

  /**
   * @type {Viewport}
   */
  this.viewport_ = null;

  /**
   * @type {HTMLElement}
   */
  this.button_ = null;

  /**
   * @type {ImageBuffer}
   * @private
   */
  this.buffer_ = null;

  /**
   * @type {boolean}
   */
  this.updated_ = false;

  /**
   * @type {ImageView}
   * @private
   */
  this.imageView_ = null;
}
/**
 * ImageEditorMode represents a modal state dedicated to a specific operation.
 * Inherits from ImageBuffer. Overlay to simplify the drawing of mode-specific
 * tools.
 *
 * @param {string} name The mode name.
 * @param {string} title The mode title.
 * @constructor
 * @struct
 * @extends {ImageBuffer.Overlay}
 */
ImageEditorMode represents a modal state dedicated to a specific operation.

@param {string} name The mode name.
@param {string} title The mode title.
ImageEditorMode represents a modal state dedicated to a specific operation . @param { string } name The mode name . @param { string } title The mode title .
function ImageEditorMode(name, title) {
  this.name = name;
  this.title = title;
  this.message_ = 'GALLERY_ENTER_WHEN_DONE';
  this.implicitCommit = false;
  this.instant = false;
  this.paddingTop = 0;
  this.paddingBottom = 0;
  this.viewport_ = null;
  this.button_ = null;
  this.buffer_ = null;
  this.updated_ = false;
  this.imageView_ = null;
}
function ImageEditorMode ( name , title ) { this . name = name ; this . title = title ; this . message_ = 'GALLERY_ENTER_WHEN_DONE' ; this . implicitCommit = false ; this . instant = false ; this . paddingTop = 0 ; this . paddingBottom = 0 ; this . viewport_ = null ; this . button_ = null ; this . buffer_ = null ; this . updated_ = false ; this . imageView_ = null ; }
ImageEditorMode represents a modal state dedicated to a specific operation.
ImageEditorMode represents a modal state dedicated to a specific operation .
/**
   * @type {boolean}
   */ /**
   * @type {boolean}
   */ /**
   * @type {number}
   */ /**
   * @type {number}
   */ /**
   * @type {Viewport}
   */ /**
   * @type {HTMLElement}
   */ /**
   * @type {ImageBuffer}
   * @private
   */ /**
   * @type {boolean}
   */ /**
   * @type {ImageView}
   * @private
   */