EdgeRectangleRelative.cs 665 B

1234567891011121314151617181920212223
  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. /// ER command
  9. /// Rectangle which makes diagonal relative coordinate (x, y) from the present position
  10. /// and the present position is plotted. Pen position after command and pen up / down state
  11. /// will be in state before command.
  12. /// </summary>
  13. public class EdgeRectangleRelative : CommandBase<float>
  14. {
  15. public EdgeRectangleRelative(float x, float y) : base()
  16. {
  17. Name = "ER";
  18. Parameters.Add(x);
  19. Parameters.Add(y);
  20. }
  21. }
  22. }