ITextConfig.cs 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. ////////////////////////////////////////////////////////////////////////////////
  2. // Paint.NET //
  3. // Copyright (C) dotPDN LLC, Rick Brewster, Tom Jackson, and contributors. //
  4. // Portions Copyright (C) Microsoft Corporation. All Rights Reserved. //
  5. // See src/Resources/Files/License.txt for full licensing and attribution //
  6. // details. //
  7. // . //
  8. /////////////////////////////////////////////////////////////////////////////////
  9. using PaintDotNet.Measurement.Enum;
  10. using PaintDotNet.Measurement.ObjInfo;
  11. using PaintDotNet.SystemLayer;
  12. using System;
  13. using System.Drawing;
  14. namespace PaintDotNet.Measurement.Interface
  15. {
  16. internal interface ITextConfig
  17. {
  18. event EventHandler FontInfoChanged;
  19. event EventHandler FontSmoothingChanged;
  20. event EventHandler FontAlignmentChanged;
  21. FontInfo FontInfo
  22. {
  23. get;
  24. set;
  25. }
  26. FontFamily FontFamily
  27. {
  28. get;
  29. set;
  30. }
  31. float FontSize
  32. {
  33. get;
  34. set;
  35. }
  36. FontStyle FontStyle
  37. {
  38. get;
  39. set;
  40. }
  41. FontSmoothing FontSmoothing
  42. {
  43. get;
  44. set;
  45. }
  46. TextAlignment FontAlignment
  47. {
  48. get;
  49. set;
  50. }
  51. }
  52. }