Returns the centroid of the Shape as a Point object.


Namespace: ActualMap
Assembly: ActualMap (in ActualMap.dll)

Syntax

Visual Basic (Declaration)
Public ReadOnly Property Centroid As Point
C#
public Point Centroid { get; }
C++
public property Point Centroid sealed  {
    Point get();
}
J#
/** property */
public Point get_Centroid();
JScript
public function get Centroid() : Point

Remarks

The centroid represents the weighted geometric center of a polygon. For a line, the Centroid property returns the center of the line.

See Also