Hello! 
How do I calculate the length of the [COLOR=Red]red [/COLOR]line?
No matter what position the circle have, or the rotation of the rectangle.
** Please help! ***(btw, is this the right forum?)
*… using circle.width/2, rec.width rec.height and so on, of course! 
And oh! I forgot.
Need to use another method than (distance between the rectangle and circle) - circle radius.