PenThickness.cs 596 B

123456789101112131415161718192021
  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. /// PT command
  9. /// It is used together with FP, FT, RR, RA, and WG command, and space (unit mm) of painting out
  10. /// is specified between 0.1 and 5.0 in accordance with thickness of pen. Initial value is 0.3mm.
  11. /// </summary>
  12. public class PenThickness : CommandBase<float>
  13. {
  14. public PenThickness(float thickness) : base()
  15. {
  16. Name = "PT";
  17. Parameters.Add(thickness);
  18. }
  19. }
  20. }