Search
Point Members
Constructors Fields Properties Methods
 


Represents a point on the map with X (longitude) and Y (latitude) coordinates.

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

 Public Constructors

  Name Description

Point

Overloaded.  

 Public Fields

  Name Description

Id

The record number of this shape in the ESRI map file. (Inherited from Shape.)

X

The X coordinate of this Point.

Y

The Y coordinate of this Point.

 Public Properties

  Name Description

Color

Gets or sets the index of the shape's color within the current color palette. (Inherited from Shape.)

DatabaseRow

Gets the DBF database row associated with this Shape. (Inherited from Shape.)

HitTestDistance

Gets or set the current hit test threshold distance. (Inherited from Shape.)

IsStreetShape

Gets or sets whether this object represents an OpenStreetMap shape. (Inherited from Shape.)

Label

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

PenKey

Gets or sets a key used to associate a pen with this shape's map feature. (Inherited from Shape.)

Size

Gets the shape's area. (Inherited from Shape.)

Type

Shape.Type override.

ZIndex

Gets or sets the shape's Z order index. (Inherited from Shape.)

 Public Methods

  Name Description

Angle

Returns the angle between the X axis and the line passinh through specified point and this point.

Clone

Clones this point.

Distance

Returns the distance from this point to the specified point.

Equals

Overloaded.  

GetBoundingBox

Shape.GetBoundingBox override.

GetCenter

Shape.GetCenter override.

GetHashCode

Object.GetHashCode override.

GetPoints

Shape.GetPoints override.

SaveTo

Saves the point to the specified stream.

ToString

Object.ToString override.

 Protected Methods

  Name Description

ClearCache

Clears cached label positions.

Draw

MapElement.Draw override.

DrawLabel

MapElement.DrawLabel override.

Highlight

MapElement.Highlight override.

HitTest

MapElement.HitTest override.

 See Also