GraphicsPath.PathTypes Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
Property Value
An array of bytes that specifies the types of the corresponding points in the path.
Remarks
The array of bytes returned by the PathTypes property specifies point types and flags for the data points in a path. 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 |
---|---|
0 | Indicates that the point is the start of a figure. |
1 | Indicates that the point is one of the two endpoints of a line. |
3 | Indicates that the point is an endpoint or control point of a cubic Bézier spline. |
0x7 | Masks all bits except for the three low-order bits, which indicate the point type. |
0x20 | Specifies that the point is a marker. |
0x80 | Specifies that the point is the last point in a closed subpath (figure). |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om