Ejemplo n.º 1
0
 public static void DrawPath(this IUGContext context, IUGPath path, Vector2 offset, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawPath(path, offset.X, offset.Y, color, strokeWidth, strokeStyle);
Ejemplo n.º 2
0
 public static void DrawPath(this IUGContext context, IUGPath path, float x, float y, UGColor color)
 => context.DrawPath(path, x, y, color, 1F);
Ejemplo n.º 3
0
 public static void DrawPath(this IUGContext context, IUGPath path, Vector2 offset, UGColor color)
 => context.DrawPath(path, offset.X, offset.Y, color, 1F);
Ejemplo n.º 4
0
 public static void DrawPath(this IUGContext context, IUGPath path, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawPath(path, color, strokeWidth, strokeStyle);
Ejemplo n.º 5
0
 public static void QuadTo(this IUGPath path, Vector2 controlPoint, Vector2 endPoint)
 => path.QuadTo(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
Ejemplo n.º 6
0
 public static void CubicTo(this IUGPath path, Vector2 controlPoint1, Vector2 controlPoint2, Vector2 endPoint)
 => path.CubicTo(controlPoint1.X, controlPoint1.Y, controlPoint2.X, controlPoint2.Y, endPoint.X, endPoint.Y);
Ejemplo n.º 7
0
 public static void LineTo(this IUGPath path, Vector2 endPoint)
 => path.LineTo(endPoint.X, endPoint.Y);
Ejemplo n.º 8
0
 public static void MoveTo(this IUGPath path, Vector2 startPoint)
 => path.MoveTo(startPoint.X, startPoint.Y);