Udostępnij za pośrednictwem


PathGeometry.Figures Property

Definition

Gets or sets the collection of PathFigure objects that describe the contents of a path.

public:
 property PathFigureCollection ^ Figures { PathFigureCollection ^ get(); void set(PathFigureCollection ^ value); };
PathFigureCollection Figures();

void Figures(PathFigureCollection value);
public PathFigureCollection Figures { get; set; }
var pathFigureCollection = pathGeometry.figures;
pathGeometry.figures = pathFigureCollection;
Public Property Figures As PathFigureCollection
<PathGeometry>
  <PathGeometry.Figures>
    oneOrMoreFigures
  </PathGeometry.Figures>
</PathGeometry>

Property Value

A collection of PathFigure objects that describe the contents of a path. Each individual PathFigure describes a shape.

Remarks

The main reason you'd want more than one PathFigure is if you want to consider the overall PathGeometry as one vector drawing that can "restart" the line in a different place, and use IsClosed to close up each figure.

Applies to

See also