Returns the type of path. This is used in case we need to identify the type of BezierCurve this is.
returns the type of path.