EdgeRectangleAbsolute.cs 638 B

12345678910111213141516171819202122
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. namespace FastReport.Export.Hpgl.Commands
  6. {
  7. /// <summary>
  8. /// EA command
  9. /// Rectangle which makes diagonal coordinates (x, y) specified the present position and
  10. /// here is plotted. Pen position after command and pen up / down state will be in state before command.
  11. /// </summary>
  12. public class EdgeRectangleAbsolute : CommandBase<float>
  13. {
  14. public EdgeRectangleAbsolute(float x, float y) : base()
  15. {
  16. Name = "EA";
  17. Parameters.Add(x);
  18. Parameters.Add(y);
  19. }
  20. }
  21. }