Class XpsPathGeometry

XpsPathGeometry class

封装 PathGeometry 属性元素特征的类。 此元素包含一组路径图,这些路径图使用 Figures 属性指定,或者 带有子 PathFigure 元素。

public sealed class XpsPathGeometry : XpsArray<XpsPathFigure>

特性

姓名描述
Count { get; }
FillRule { get; set; }返回/设置指定几何 形状的交叉区域如何组合形成区域的值。
Item { get; }
PathFigures { get; }返回子路径图形列表。
Transform { get; set; }返回/设置仿射变换矩阵建立局部矩阵 transformation 在使用 用于填充、剪裁或描边之前应用于路径几何的所有子元素和后代元素。

方法

姓名描述
Add(XpsPathFigure)
AddSegment(XpsPathSegment)将路径段添加到最后一个 pah 图的子段列表中。
Clone()克隆此路径几何图形。
Insert(int, XpsPathFigure)
InsertSegment(int, XpsPathSegment)将路径段插入到 的最后一个路径图形的子段列表中index位置.
Remove(XpsPathFigure)
RemoveAt(int)
RemoveSegment(XpsPathSegment)从最后一个路径图形的子段列表中删除路径段。
RemoveSegmentAt(int)从 的最后一个路径图形的子段列表中删除路径段index位置.

也可以看看