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