MindFusion.Mapping Programmer's Guide

Shape Members

Constructors Fields Properties Methods
 


Represents geometrical shapes displayed on a map.

The following tables list the members exposed by the Shape type.

 Protected Constructors

  Name Description

Shape

Initializes a new instance of the Shape class.

 Public Fields

  Name Description

Id

The record number of this shape in the ESRI map file.

 Public Properties

  Name Description

Color

Gets or sets the index of the shape's color within the current color palette.

DatabaseRow

Gets the DBF database row associated with this Shape.

HitTestDistance

Gets or set the current hit test threshold distance.

Type

Gets the ESRI shape type of this Shape.

 Public Methods

  Name Description

GetBoundingBox

Gets the bounding box of this shape.

GetCenter

Gets the center point of this shape.

SaveTo

Saves this shape to the specified stream.

 Protected Methods

  Name Description

ClearCache

Clears any cached values associated with the shape for the current zoom level.

 See Also