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);
public static void FillRectangle(this IUGContext context, UGRect rect, IUGBrush brush) => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, brush);
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);
public static void DrawImage(this IUGContext context, IUGCanvasImage image, UGRect destRect) => context.DrawImage(image, destRect.X, destRect.Y, destRect.Width, destRect.Height);
public static void FillRectangle(this IUGContext context, UGRect rect, UGColor color) => context.FillRectangle(rect.X, rect.Y, rect.Width, rect.Height, color);
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);
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);
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);
public static void DrawRectangle(this IUGContext context, UGRect rect, UGColor color) => context.DrawRectangle(rect.X, rect.Y, rect.Width, rect.Height, color, 1F);
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);