This property is updated with the object's center of mass.
Syntax
Visual Basic (Declaration) | |
---|
Public ReadOnly Property CenterOfMass As Point |
C# | |
---|
public Point CenterOfMass {get;} |
Managed Extensions for C++ | |
---|
public: __property Point get_CenterOfMass(); |
C++/CLI | |
---|
public:
property Point CenterOfMass {
Point get();
} |
Return Value
Point structure that is updated with the object's center of mass.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also