GraphicsPath.PathTypes GraphicsPath.PathTypes GraphicsPath.PathTypes GraphicsPath.PathTypes Property

定义

获取 PathPoints 数组中相应点的类型。Gets the types of the corresponding points in the PathPoints array.

public:
 property cli::array <System::Byte> ^ PathTypes { cli::array <System::Byte> ^ get(); };
public byte[] PathTypes { get; }
member this.PathTypes : byte[]
Public ReadOnly Property PathTypes As Byte()

属性值

Byte[]

指定路径中相应点的类型的字节数组。An array of bytes that specifies the types of the corresponding points in the path.

注解

PathTypes属性返回的字节数组指定路径中数据点的点类型和标志。The array of bytes returned by the PathTypes property specifies point types and flags for the data points in a path. 对于每个点,0到2位表示点的类型,位3到7保留一组指定点的属性的标志。For each point, bits 0 through 2 indicate the type of a point, and bits 3 through 7 hold a set of flags that specify the attributes of a point. 下表显示了可能的值及其含义。The following table shows possible values and their meanings.

Value 含义Meaning
00 指示点是图形的起点。Indicates that the point is the start of a figure.
11 指示点是行的两个终结点之一。Indicates that the point is one of the two endpoints of a line.
33 指示点是三次贝塞尔曲线的端点或控制点。Indicates that the point is an endpoint or control point of a cubic Bézier spline.
0x70x7 屏蔽除三个低序位之外的所有位,指示点类型。Masks all bits except for the three low-order bits, which indicate the point type.
0x200x20 指定该点是一个标记。Specifies that the point is a marker.
0x800x80 指定点是闭合子路径中的最后一个点(图)。Specifies that the point is the last point in a closed subpath (figure).

适用于