Exemplo n.º 1
0
 public Path2DCommand(Path2DCommandKind cmd, AngularDirection argument)
 {
     Command         = cmd;
     WindingArgument = argument;
     Points          = new Vector2[0];
 }
Exemplo n.º 2
0
 public Path2DCommand(Path2DCommandKind cmd, params Vector2[] points)
 {
     Command         = cmd;
     WindingArgument = 0;
     Points          = points;
 }
Exemplo n.º 3
0
 public void Winding(AngularDirection dir) => m_commands.Add(new Path2DCommand(Path2DCommandKind.Winding, dir));
Exemplo n.º 4
0
 public RotateCommand(float duration, float degrees, AngularDirection direction) : base(duration)
 {
     Degrees   = degrees;
     Direction = direction;
 }