示例#1
0
 public static void FillRectangle(this AggRenderSurface gx, RectInt rect, Color fillColor)
 {
     gx.FillRectangle(rect.Left, rect.Bottom, rect.Right, rect.Top, fillColor);
 }
示例#2
0
 public static void FillRectangle(this AggRenderSurface gx,
                                  Vector2 leftBottom,
                                  Vector2 rightTop, Color fillColor)
 {
     gx.FillRectangle(leftBottom.x, leftBottom.y, rightTop.x, rightTop.y, fillColor);
 }