AddGeometry Method

PathGeometry.AddGeometry Method (Geometry)


Converts the specified Geometry into a collection of PathFigure objects and adds it to the path. Note: If the specified Geometry is animated, the conversion from Geometry to PathFigure may result in some loss of information.

Namespace:   System.Windows.Media
Assembly:  PresentationCore (in PresentationCore.dll)

public void AddGeometry(
	Geometry geometry


Type: System.Windows.Media.Geometry

The geometry to add to the path.

.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft