public static ToXnaRect ( this rect ) : |
||
rect | this | Rectangle to convert |
리턴 |
public static Rectangle ToXnaRect(this System.Drawing.Rectangle rect)
{
return new Rectangle(rect.X, rect.Y, rect.Width, rect.Height);
}