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