コード例 #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);
コード例 #2
0
 public static void DrawPath(this IUGContext context, IUGPath path, float x, float y, UGColor color)
 => context.DrawPath(path, x, y, color, 1F);
コード例 #3
0
 public static void DrawPath(this IUGContext context, IUGPath path, Vector2 offset, UGColor color)
 => context.DrawPath(path, offset.X, offset.Y, color, 1F);
コード例 #4
0
 public static void DrawPath(this IUGContext context, IUGPath path, UGColor color, float strokeWidth, UGStrokeStyle strokeStyle)
 => context.DrawPath(path, color, strokeWidth, strokeStyle);
コード例 #5
0
 public static void QuadTo(this IUGPath path, Vector2 controlPoint, Vector2 endPoint)
 => path.QuadTo(controlPoint.X, controlPoint.Y, endPoint.X, endPoint.Y);
コード例 #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);
コード例 #7
0
 public static void LineTo(this IUGPath path, Vector2 endPoint)
 => path.LineTo(endPoint.X, endPoint.Y);
コード例 #8
0
 public static void MoveTo(this IUGPath path, Vector2 startPoint)
 => path.MoveTo(startPoint.X, startPoint.Y);