Signature.cs 976 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. using Prism.Mvvm;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. using System.Threading.Tasks;
  7. using System.Windows.Ink;
  8. using System.Windows.Media;
  9. namespace PDF_Master.Model.AnnotPanel
  10. {
  11. public enum SignatureType
  12. {
  13. TextType,
  14. Drawing,
  15. ImageType
  16. }
  17. public class Signature : BindableBase
  18. {
  19. private string sourcePath;
  20. public string SourcePath
  21. {
  22. get { return sourcePath; }
  23. set
  24. {
  25. SetProperty(ref sourcePath, value);
  26. }
  27. }
  28. private string drawingPath;
  29. public string DrawingPath
  30. {
  31. get { return drawingPath; }
  32. set
  33. {
  34. SetProperty(ref drawingPath, value);
  35. }
  36. }
  37. public SignatureType Type { get; set; }
  38. public double inkThickness { get; set; }
  39. public Color inkColor { get; set; }
  40. }
  41. }