예제 #1
0
 public UGRect(Vector2 point, UGSize size)
 {
     _data   = new Vector4();
     _data.W = point.X;
     _data.X = point.Y;
     _data.Y = size.Width;
     _data.Z = size.Height;
 }
예제 #2
0
 public UGRect(float x, float y, UGSize size)
 {
     _data   = new Vector4();
     _data.W = x;
     _data.X = y;
     _data.Y = size.Width;
     _data.Z = size.Height;
 }
예제 #3
0
 public static void FillRoundedRectangle(this IUGContext context, Vector2 point, UGSize size, float radiusX, float radiusY, IUGBrush brush)
 => context.FillRoundedRectangle(point.X, point.Y, size.Width, size.Height, radiusX, radiusY, brush);
예제 #4
0
 public static void FillRoundedRectangle(this IUGContext context, float x, float y, UGSize size, float radiusX, float radiusY, IUGBrush brush)
 => context.FillRoundedRectangle(x, y, size.Width, size.Height, radiusX, radiusY, brush);
예제 #5
0
 public static void FillRoundedRectangle(this IUGContext context, Vector2 point, UGSize size, float radius, UGColor color)
 => context.FillRoundedRectangle(point.X, point.Y, size.Width, size.Height, radius, radius, color);
예제 #6
0
 public static void FillRoundedRectangle(this IUGContext context, float x, float y, UGSize size, float radius, UGColor color)
 => context.FillRoundedRectangle(x, y, size.Width, size.Height, radius, radius, color);
예제 #7
0
 public static void FillRectangle(this IUGContext context, Vector2 point, UGSize size, IUGBrush brush)
 => context.FillRectangle(point.X, point.Y, size.Width, size.Height, brush);
예제 #8
0
 public static void FillRectangle(this IUGContext context, Vector2 point, UGSize size, UGColor color)
 => context.FillRectangle(point.X, point.Y, size.Width, size.Height, color);
예제 #9
0
 public static void FillRectangle(this IUGContext context, float x, float y, UGSize size, IUGBrush brush)
 => context.FillRectangle(x, y, size.Width, size.Height, brush);
예제 #10
0
 public static void FillEllipseInRectangle(this IUGContext context, float x, float y, UGSize size, UGColor color)
 => context.FillEllipseInRectangle(x, y, size.Width, size.Height, color);
예제 #11
0
 public static void DrawRoundedRectangle(this IUGContext context, Vector2 point, UGSize size, float radiusX, float radiusY, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawRoundedRectangle(point.X, point.Y, size.Width, size.Height, radiusX, radiusY, color, strokeWidth, strokeStyle);
예제 #12
0
 public static void DrawRoundedRectangle(this IUGContext context, float x, float y, UGSize size, float radiusX, float radiusY, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawRoundedRectangle(x, y, size.Width, size.Height, radiusX, radiusY, color, strokeWidth, strokeStyle);
예제 #13
0
 public static void DrawRectangle(this IUGContext context, Vector2 point, UGSize size, UGColor color, float strokeWidth)
 => context.DrawRectangle(point.X, point.Y, size.Width, size.Height, color, strokeWidth);
예제 #14
0
 public static void DrawRectangle(this IUGContext context, float x, float y, UGSize size, UGColor color, float strokeWidth)
 => context.DrawRectangle(x, y, size.Width, size.Height, color, strokeWidth);
예제 #15
0
 public static void DrawEllipseInRectangle(this IUGContext context, Vector2 point, UGSize size, UGColor color)
 => context.DrawEllipseInRectangle(point.X, point.Y, size.Width, size.Height, color, 1F);
예제 #16
0
 public static void DrawEllipseInRectangle(this IUGContext context, float x, float y, UGSize size, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawEllipseInRectangle(x, y, size.Width, size.Height, color, strokeWidth, strokeStyle);