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