Nevron .NET Vision
Nevron.GraphicsCore Namespace / NPolygonF Class / Centroid Property


In This Topic
    Centroid Property
    In This Topic
    Gets the centroid (that is the center of mass) of the polygon.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property Centroid As NPointF
    'Usage
     
    
    Dim instance As NPolygonF
    Dim value As NPointF
     
    value = instance.Centroid
    public NPointF Centroid {get;}
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also