Example #1
0
 /// <summary>
 /// Creates a new shape with the specified type and metadata.
 /// </summary>
 /// <param name="type">The shape type.</param>
 /// <param name="metadata">The shape metadata.</param>
 public MapShape(MapShapeType type, MapMetadata metadata)
 {
     this.type = type;
     this.metadata = metadata;
 }
Example #2
0
 /// <summary>
 /// Creates a new map shape of the specified type and with an empty metadata collection.
 /// </summary>
 /// <param name="type">The shape type.</param>
 public MapShape(MapShapeType type)
 {
     this.type = type;
     this.metadata = new MapMetadata();
 }