FillRectangleAbsolute.cs 719 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. /// RA command
  9. /// It is used with FT and PT command and shading of the inside of rectangle which makes
  10. /// diagonal point coordinates (x, y) specified the present position and here is carried out.
  11. /// Pen position after command and pen up / down state will be in state before command.
  12. /// </summary>
  13. public class FillRectangleAbsolute : CommandBase<float>
  14. {
  15. public FillRectangleAbsolute(float x, float y) : base()
  16. {
  17. Name = "RA";
  18. Parameters.Add(x);
  19. Parameters.Add(y);
  20. }
  21. }
  22. }