Ejemplo n.º 1
0
 public static void FillRoundedRectangle(this IUGContext context, UGRect rect, float radiusX, float radiusY, IUGBrush brush)
 => context.FillRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, radiusX, radiusY, brush);
Ejemplo n.º 2
0
 public static void FillRectangle(this IUGContext context, UGRect rect, IUGBrush brush)
 => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, brush);
Ejemplo n.º 3
0
 public static void FillRoundedRectangle(this IUGContext context, UGRect rect, float radius, UGColor color)
 => context.FillRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, radius, radius, color);
Ejemplo n.º 4
0
 public static void DrawImage(this IUGContext context, IUGCanvasImage image, UGRect destRect)
 => context.DrawImage(image, destRect.X, destRect.Y, destRect.Width, destRect.Height);
Ejemplo n.º 5
0
 public static void FillRectangle(this IUGContext context, UGRect rect, UGColor color)
 => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, color);
Ejemplo n.º 6
0
 public static void DrawRoundedRectangle(this IUGContext context, UGRect rect, float radiusX, float radiusY, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, radiusX, radiusY, color, strokeWidth, strokeStyle);
Ejemplo n.º 7
0
 public static void DrawRoundedRectangle(this IUGContext context, UGRect rect, float radiusX, float radiusY, UGColor color)
 => context.DrawRoundedRectangle(rect.X, rect.Y, rect.Width, rect.Height, radiusX, radiusY, color, 1F);
Ejemplo n.º 8
0
 public static void DrawRectangle(this IUGContext context, UGRect rect, UGColor color, float strokeWidth)
 => context.DrawRectangle(rect.X, rect.Y, rect.Width, rect.Height, color, strokeWidth);
Ejemplo n.º 9
0
 public static void DrawRectangle(this IUGContext context, UGRect rect, UGColor color)
 => context.DrawRectangle(rect.X, rect.Y, rect.Width, rect.Height, color, 1F);
Ejemplo n.º 10
0
 public static void DrawEllipseInRectangle(this IUGContext context, UGRect rect, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawEllipseInRectangle(rect.X, rect.Y, rect.Width, rect.Height, color, strokeWidth, strokeStyle);