Beispiel #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);
Beispiel #2
0
 public static void FillRectangle(this IUGContext context, UGRect rect, IUGBrush brush)
 => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, brush);
Beispiel #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);
Beispiel #4
0
 public static void DrawImage(this IUGContext context, IUGCanvasImage image, UGRect destRect)
 => context.DrawImage(image, destRect.X, destRect.Y, destRect.Width, destRect.Height);
Beispiel #5
0
 public static void FillRectangle(this IUGContext context, UGRect rect, UGColor color)
 => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, color);
Beispiel #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);
Beispiel #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);
Beispiel #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);
Beispiel #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);
Beispiel #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);