IGPGraphicsPath.SetMarker
(Automated Syncronization with Documentation) |
(Automated Syncronization with Documentation) |
(3 intermediate revisions by one user not shown) |
Latest revision as of 00:30, 26 June 2013
This is a Beta Read Only version of this page. Please review and send recommendations to mitov@mitov.com. We will enable the editing as soon as we are happy with the overall Wiki site.
Description
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.