Method function IGDIPlus.IGPGraphicsPath.SetMarker() : TGPGraphicsPath
This is a Beta Read Only version of this page. Please review and send recommendations to email@example.com. We will enable the editing as soon as we are happy with the overall Wiki site.
function SetMarker() : TGPGraphicsPath;
TGPGraphicsPath __fastcall SetMarker();
Visual C++ (MFC):
Designates the last point in this path as a marker point.
Call this method to designate the last point in this path as a marker point. Remarks A TGPGraphicsPath object has an array of points and an array of types. Each element in the array of types is a byte that specifies the point type and a set of flags for the corresponding element in the array of points. Possible point types and flags are listed in the TGPPathPointType enumeration.
Each time you add a line, curve, or shape to a path, the point array and the type array are expanded. When you call TGPGraphicsPath.SetMarker, a marker flag is placed in the last byte of the type array. That flag designates the last point of the point array as a marker point.
Markers divide a path into sections. You can use a TGPGraphicsPathIterator object to draw selected sections of a path.