public Path2DCommand(Path2DCommandKind cmd, AngularDirection argument) { Command = cmd; WindingArgument = argument; Points = new Vector2[0]; }
private void AddCommand(Path2DCommandKind cmd, params float[] args) => m_commands.Add(new Path2DCommand(cmd, FloatsToVectors(args)));
private void AddCommand(Path2DCommandKind cmd, params Vector2[] args) => m_commands.Add(new Path2DCommand(cmd, args));
public Path2DCommand(Path2DCommandKind cmd, params Vector2[] points) { Command = cmd; WindingArgument = 0; Points = points; }