A segment of a path. Sometimes paths contain multiple distinctive sub-paths; these segments are used to represent those. (Blaze calls them contours).
Public Member Functions | |
PathSegment (VectorPoint first, VectorPath path) | |
bool | Contains (float x, float y) |
VectorPoint | Nearest (float x, float y) |
void | Remove () |
Removes this segment from the parent path. More... | |
Public Attributes | |
VectorPath | Path |
VectorPoint | Last |
VectorPoint | First |
|
inline |
|
inline |
|
inline |
|
inline |
Removes this segment from the parent path.
VectorPoint Blaze.PathSegment.First |
VectorPoint Blaze.PathSegment.Last |
VectorPath Blaze.PathSegment.Path |