Test the start point and direction of dashing on rect