using System;
using System.Collections.Generic;
using System.Drawing;
using System.Linq;
using System.Text;
namespace TProduct.Extensions
{
///
/// Graphics 拓展
///
public static class GraphicsExtension
{
///
/// 绘制矩形
///
public static void DrawRectangleF(this Graphics g, Pen pen, RectangleF rectf)
{
g.DrawRectangle(pen, rectf.X, rectf.Y, rectf.Width, rectf.Height);
}
}
}