Geometry.Move Method
Moves the Geometry by the specified offset.
Move(Point delta)
Moves the Geometry by the specified offset.Syntax
public void Move (
Point delta
)
Parameters
The offset by which the geometry should be moved.
Example
// Move a feature non-geographically
public static void MoveGeometry(Feature feature, Point offset)
{
// Move the geometry by the given offset. The Geometry class is not aware
// of which Crs the Feature is defined in so this operation just applies
// the offset to the (x,y) coordinates in the Geometry.
feature.Geometry.Move(offset);
}
Platforms
Windows, Linux, Android