def getGestureAndSegments(points):
    """
    Returns a list of tuples. The first item in the tuple is the directional
    integer, and the second item is a tuple of integers for the start and end
    indexes of the points that make up the stroke.
    """
    strokes, strokeSegments = _identifyStrokes(points)
    return list(zip(strokes, strokeSegments))
Returns a list of tuples. The first item in the tuple is the directional
    integer, and the second item is a tuple of integers for the start and end
    indexes of the points that make up the stroke.