function Label$1(params) {
    Transform.call(this, null, params);
  }
Compute text label layout to annotate marks.
@constructor
@param {object} params - The parameters for this operator.
@param {Array<number>} params.size - The size of the layout, provided as a [width, height] array.
@param {function(*,*): number} [params.sort] - An optional
  comparator function for sorting label data in priority order.
@param {Array<string>} [params.anchor] - Label anchor points relative to the base mark bounding box.
  The available options are 'top-left', 'left', 'bottom-left', 'top',
  'bottom', 'top-right', 'right', 'bottom-right', 'middle'.
@param {Array<number>} [params.offset] - Label offsets (in pixels) from the base mark bounding box.
  This parameter is parallel to the list of anchor points.
@param {number | null} [params.padding=0] - The amount (in pixels) that a label may exceed the layout size.
  If this parameter is null, a label may exceed the layout size without any boundary.
@param {string} [params.lineAnchor='end'] - For group line mark labels only, indicates the anchor
  position for labels. One of 'start' or 'end'.
@param {string} [params.markIndex=0] - For group mark labels only, an index indicating
  which mark within the group should be labeled.
@param {Array<number>} [params.avoidMarks] - A list of additional mark names for which the label
  layout should avoid overlap.
@param {boolean} [params.avoidBaseMark=true] - Boolean flag indicating if labels should avoid
  overlap with the underlying base mark being labeled.
@param {string} [params.method='naive'] - For area make labels only, a method for
  place labels. One of 'naive', 'reduced-search', or 'floodfill'.
@param {Array<string>} [params.as] - The output fields written by the transform.
  The default is ['x', 'y', 'opacity', 'align', 'baseline'].