语言

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 的主要原因是,如果要将整体 PathGeometry 视为一个矢量绘图,可以在不同的位置“重启”线条,并使用 IsClosed 来关闭每个数字。

适用于

另请参阅