Share via


PathGeometry.Figures 属性

定义

获取或设置 描述路径内容的 PathFigure 对象的集合。

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>

属性值

描述路径内容的 PathFigure 对象的集合。 每个 单独的 PathFigure 描述一个形状。

注解

需要多个 PathFigure 的main原因是,如果要将整体 PathGeometry 视为一个可以在不同位置“重启”线条的矢量绘图,并使用 IsClosed 来关闭每个图形。

适用于

另请参阅