Blaze.PathSegment Class Reference

Detailed Description

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
 

Constructor & Destructor Documentation

Blaze.PathSegment.PathSegment ( VectorPoint  first,
VectorPath  path 
)
inline

Member Function Documentation

bool Blaze.PathSegment.Contains ( float  x,
float  y 
)
inline
VectorPoint Blaze.PathSegment.Nearest ( float  x,
float  y 
)
inline
void Blaze.PathSegment.Remove ( )
inline

Removes this segment from the parent path.

Member Data Documentation

VectorPoint Blaze.PathSegment.First
VectorPoint Blaze.PathSegment.Last
VectorPath Blaze.PathSegment.Path