HatchStyle.cs 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. //
  2. // System.Drawing.Drawing2D.HatchStyle.cs
  3. //
  4. // Authors:
  5. // Stefan Maierhofer <[email protected]>
  6. // Dennis Hayes ([email protected])
  7. // Ravindra ([email protected])
  8. //
  9. // (C) 2002/3 Ximian, Inc.
  10. // (C) 2004 Novell, Inc.
  11. //
  12. //
  13. // Copyright (C) 2004 Novell, Inc (http://www.novell.com)
  14. //
  15. // Permission is hereby granted, free of charge, to any person obtaining
  16. // a copy of this software and associated documentation files (the
  17. // "Software"), to deal in the Software without restriction, including
  18. // without limitation the rights to use, copy, modify, merge, publish,
  19. // distribute, sublicense, and/or sell copies of the Software, and to
  20. // permit persons to whom the Software is furnished to do so, subject to
  21. // the following conditions:
  22. //
  23. // The above copyright notice and this permission notice shall be
  24. // included in all copies or substantial portions of the Software.
  25. //
  26. // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  27. // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  28. // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
  29. // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
  30. // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
  31. // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
  32. // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  33. //
  34. using System;
  35. namespace System.Drawing.Drawing2D {
  36. /// <summary>
  37. /// Summary description for HatchStyle.
  38. /// </summary>
  39. [Serializable]
  40. public enum HatchStyle {
  41. BackwardDiagonal = 3,
  42. Cross = LargeGrid,
  43. DarkDownwardDiagonal = 20,
  44. DarkHorizontal = 29,
  45. DarkUpwardDiagonal = 21,
  46. DarkVertical = 28,
  47. DashedDownwardDiagonal = 30,
  48. DashedHorizontal = 32,
  49. DashedUpwardDiagonal = 31,
  50. DashedVertical = 33,
  51. DiagonalBrick = 38,
  52. DiagonalCross = 5,
  53. Divot = 42,
  54. DottedDiamond = 44,
  55. DottedGrid = 43,
  56. ForwardDiagonal = 2,
  57. Horizontal = 0,
  58. HorizontalBrick = 39,
  59. LargeCheckerBoard = 50,
  60. LargeConfetti = 35,
  61. LargeGrid = 4,
  62. LightDownwardDiagonal = 18,
  63. LightHorizontal = 25,
  64. LightUpwardDiagonal = 19,
  65. LightVertical = 24,
  66. Max = 4,
  67. Min = 0,
  68. NarrowHorizontal = 27,
  69. NarrowVertical = 26,
  70. OutlinedDiamond = 51,
  71. Percent05 = 6,
  72. Percent10 = 7,
  73. Percent20 = 8,
  74. Percent25 = 9,
  75. Percent30 = 10,
  76. Percent40 = 11,
  77. Percent50 = 12,
  78. Percent60 = 13,
  79. Percent70 = 14,
  80. Percent75 = 15,
  81. Percent80 = 16,
  82. Percent90 = 17,
  83. Plaid = 41,
  84. Shingle = 45,
  85. SmallCheckerBoard = 49,
  86. SmallConfetti = 34,
  87. SmallGrid = 48,
  88. SolidDiamond = 52,
  89. Sphere = 47,
  90. Trellis = 46,
  91. Vertical = 1,
  92. Wave = 37,
  93. Weave = 40,
  94. WideDownwardDiagonal = 22,
  95. WideUpwardDiagonal = 23,
  96. ZigZag = 36
  97. }
  98. }