code: function (attributes) {
  
              // All these are documented with their property accessors below.
              this._drawInterior = attributes ? attributes._drawInterior : true;
              this._drawOutline = attributes ? attributes._drawOutline : true;
              this._enableLighting = attributes ? attributes._enableLighting : false;
              this._interiorColor = attributes ? attributes._interiorColor.clone() : Color.WHITE.clone();
              this._outlineColor = attributes ? attributes._outlineColor.clone() : Color.RED.clone();
              this._outlineWidth = attributes ? attributes._outlineWidth : 1.0;
              this._outlineStippleFactor = attributes ? attributes._outlineStippleFactor : 0;
              this._outlineStipplePattern = attributes ? attributes._outlineStipplePattern : 0xF0F0;
              this._imageSource = attributes ? attributes._imageSource : null;
              this._depthTest = attributes ? attributes._depthTest : true;
              this._drawVerticals = attributes ? attributes._drawVerticals : false;
              this._applyLighting = attributes ? attributes._applyLighting : false;
  
              /**
               * 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 shape attributes bundle, optionally specifying a prototype set of attributes. Not all shapes
  use all the properties in the bundle. See the documentation of a specific shape to determine the properties
  it does use.
  @alias ShapeAttributes
  @constructor
  @classdesc Holds attributes applied to WorldWind shapes.
  @param {ShapeAttributes} attributes An attribute bundle whose properties are used to initially populate
  the constructed attributes bundle. May be null, in which case the constructed attributes bundle is populated
  with default attributes.