GeneralHelpers.UVFromRectangle Method (SizeF, Point, Size)
Converts a rectangle into an array of 4 texture coordanants.
[Visual Basic] Overloads Public Shared Function UVFromRectangle( _ ByVal ImageSize As SizeF, _ ByVal Location As Point, _ ByVal Size As Size _ ) As Vector2()