Sprite.Property.05.BackColorAero.cs 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  1. using System.Drawing;
  2. namespace Microsoft.Windows.Forms
  3. {
  4. public partial class Sprite
  5. {
  6. private AeroStyle m_BackColorAeroStyle = AeroStyle.None;
  7. /// <summary>
  8. /// 特效绘制方式
  9. /// </summary>
  10. public AeroStyle BackColorAeroStyle
  11. {
  12. get
  13. {
  14. return this.m_BackColorAeroStyle;
  15. }
  16. set
  17. {
  18. if (value != this.m_BackColorAeroStyle)
  19. {
  20. this.m_BackColorAeroStyle = value;
  21. this.Feedback();
  22. }
  23. }
  24. }
  25. private float m_BackColorAeroPos = 0.45f;
  26. /// <summary>
  27. /// 特效分割位置
  28. /// </summary>
  29. public float BackColorAeroPos
  30. {
  31. get
  32. {
  33. return this.m_BackColorAeroPos;
  34. }
  35. set
  36. {
  37. if (value != this.m_BackColorAeroPos)
  38. {
  39. this.m_BackColorAeroPos = value;
  40. this.Feedback();
  41. }
  42. }
  43. }
  44. private Color m_BackColorAeroBlurColor = DefaultTheme.BlurColor;
  45. /// <summary>
  46. /// 模糊特效颜色
  47. /// </summary>
  48. public Color BackColorAeroBlurColor
  49. {
  50. get
  51. {
  52. return this.m_BackColorAeroBlurColor;
  53. }
  54. set
  55. {
  56. if (value != this.m_BackColorAeroBlurColor)
  57. {
  58. this.m_BackColorAeroBlurColor = value;
  59. this.Feedback();
  60. }
  61. }
  62. }
  63. private Color m_BackColorAeroGlassCenterColor = DefaultTheme.GlassCenterColor;
  64. /// <summary>
  65. /// 玻璃特效中心颜色
  66. /// </summary>
  67. public Color BackColorAeroGlassCenterColor
  68. {
  69. get
  70. {
  71. return this.m_BackColorAeroGlassCenterColor;
  72. }
  73. set
  74. {
  75. if (value != this.m_BackColorAeroGlassCenterColor)
  76. {
  77. this.m_BackColorAeroGlassCenterColor = value;
  78. this.Feedback();
  79. }
  80. }
  81. }
  82. private Color m_BackColorAeroGlassSurroundColor = DefaultTheme.GlassSurroundColor;
  83. /// <summary>
  84. /// 玻璃特效环绕颜色
  85. /// </summary>
  86. public Color BackColorAeroGlassSurroundColor
  87. {
  88. get
  89. {
  90. return this.m_BackColorAeroGlassSurroundColor;
  91. }
  92. set
  93. {
  94. if (value != this.m_BackColorAeroGlassSurroundColor)
  95. {
  96. this.m_BackColorAeroGlassSurroundColor = value;
  97. this.Feedback();
  98. }
  99. }
  100. }
  101. }
  102. }