well, the file where you can draw the lines and then have the ball bounce, does use the old 45 degree 100x100 line scaled. then it calculates the angle using Math.atan2(_yscale, _xscale)

but if you are just making a few lines and rotating them, it's easier to use a horizontal line and use the _rotation converted to rads.