MindFusion.Wpf Pack 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.

FontName

Gets or sets the name of the font used to render the label of this element. (Inherited from MapElement.)

FontSize

Gets or sets the size of the font used to render the label of this element. (Inherited from MapElement.)

HitTestDistance

Gets or set the current hit test threshold distance.

Label

Gets or sets the label of this map element. (Inherited from MapElement.)

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.

Draw

Draws this map element on the specified drawing surface. (Inherited from MapElement.)

DrawLabel

Draws the label of this map element. (Inherited from MapElement.)

Highlight

Draws a highlight of this map element. (Inherited from MapElement.)

HitTest

Tests whether this map element contains the specified point. (Inherited from MapElement.)

 See Also

Shape Class
MindFusion.Mapping Namespace