Added direction property to View2D.