Upravit

Sdílet prostřednictvím


PathGeometry.AddGeometry(Geometry) Method

Definition

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.

public:
 void AddGeometry(System::Windows::Media::Geometry ^ geometry);
public void AddGeometry (System.Windows.Media.Geometry geometry);
member this.AddGeometry : System.Windows.Media.Geometry -> unit
Public Sub AddGeometry (geometry As Geometry)

Parameters

geometry
Geometry

The geometry to add to the path.

Applies to