code: function (screenOffset, text) {
              if (!screenOffset) {
                  throw new ArgumentError(
                      Logger.logMessage(Logger.LEVEL_SEVERE, "Text", "constructor", "missingOffset"));
              }
  
              Text.call(this, text);
  
              /**
               * The offset indicating this text's placement on the screen.
               * The [TextAttributes.offset]{@link TextAttributes#offset} property indicates the relationship of the text
               * string to this location.
               * @type {Offset}
               */
              this.screenOffset = screenOffset;
  
              /**
               * Inherited from [Text]{@link Text#altitudeMode} but not utilized by screen text.
               */
              this.altitudeMode = null;
          }
docs: Constructs a screen text shape at a specified screen location.
  @alias ScreenText
  @constructor
  @augments Text
  @classdesc Represents a string of text displayed at a screen location.
  <p>
  See also {@link GeographicText}.
  
  @param {Offset} screenOffset The offset indicating the text's placement on the screen.
  Use [TextAttributes.offset]{@link TextAttributes#offset} to position the text relative to the specified
  screen offset.
  @param {String} text The text to display.
  @throws {ArgumentError} If either the specified screen offset or text is null or undefined.