getWidth() {
    const scale = this.getScaleArray();
    if (this.size_) {
      return this.size_[0] * scale[0];
    }
    if (this.iconImage_.getImageState() == ImageState.LOADED) {
      return this.iconImage_.getSize()[0] * scale[0];
    }
    return undefined;
  }
Get the width of the icon (in pixels). Will return undefined when the icon image is not yet loaded.
@return {number} Icon width (in pixels).
@api