asLine

Returns array of two points if Path contains only one line; Verb array has two entries: PathVerb.MOVE, PathVerb.LINE. Returns null if Path is not one line.

Return

Point2 if Path contains exactly one line, null otherwise

See also