code: function (attributes) {
              this._color = attributes ? attributes._color.clone() : Color.WHITE.clone();
              this._font = attributes ? attributes._font : new Font(14);
              this._offset = attributes ? attributes._offset
                  : new Offset(WorldWind.OFFSET_FRACTION, 0.5, WorldWind.OFFSET_FRACTION, 0.0);
              this._scale = attributes ? attributes._scale : 1;
              this._depthTest = attributes ? attributes._depthTest : false;
              this._enableOutline = attributes ? attributes._enableOutline : true;
              this._outlineWidth = attributes ? attributes._outlineWidth : 4;
              this._outlineColor = attributes ? attributes._outlineColor : new Color(0, 0, 0, 0.5);
  
              /**
               * Indicates whether this object's state key is invalid. Subclasses must set this value to true when their
               * attributes change. The state key will be automatically computed the next time it's requested. This flag
               * will be set to false when that occurs.
               * @type {boolean}
               * @protected
               */
              this.stateKeyInvalid = true;
          }
docs: Constructs a text attributes bundle.
  @alias TextAttributes
  @constructor
  @classdesc Holds attributes applied to [Text]{@link Text} shapes and [Placemark]{@link Placemark} labels.
  
  @param {TextAttributes} attributes Attributes to initialize this attributes instance to. May be null,
  in which case the new instance contains default attributes.