PathGeometry.Figures 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置描述路径内容的 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 来关闭每个数字。