Advertisement
Guest User

Untitled

a guest
May 27th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. /*The MIT License (MIT)
  2.  
  3. Copyright (c) 2014 PMU Staff
  4.  
  5. Permission is hereby granted, free of charge, to any person obtaining a copy
  6. of this software and associated documentation files (the "Software"), to deal
  7. in the Software without restriction, including without limitation the rights
  8. to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
  9. copies of the Software, and to permit persons to whom the Software is
  10. furnished to do so, subject to the following conditions:
  11.  
  12. The above copyright notice and this permission notice shall be included in
  13. all copies or substantial portions of the Software.
  14.  
  15. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
  16. IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  17. FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
  18. AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
  19. LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
  20. OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
  21. THE SOFTWARE.
  22. */
  23.  
  24.  
  25. namespace Server
  26. {
  27. using System;
  28. using System.Collections.Generic;
  29. using System.Drawing;
  30. using System.Text;
  31.  
  32. public class Text
  33. {
  34. #region Fields
  35.  
  36. static Color black = System.Drawing.Color.Black;
  37. static Color blue = System.Drawing.Color.Blue;
  38. static Color brightBlue = System.Drawing.Color.LightBlue;
  39. static Color brightCyan = System.Drawing.Color.LightCyan;
  40. static Color brightGreen = System.Drawing.Color.LightGreen;
  41. static Color brightRed = System.Drawing.Color.Red;
  42. static Color brown = System.Drawing.Color.Brown;
  43. static Color cyan = System.Drawing.Color.Cyan;
  44. static Color darkGrey = System.Drawing.Color.DarkGray;
  45. static Color green = System.Drawing.Color.Green;
  46. static Color grey = System.Drawing.Color.Gray;
  47. static Color magenta = System.Drawing.Color.Magenta;
  48. static Color pink = System.Drawing.Color.Pink;
  49. static Color red = System.Drawing.Color.Red;
  50. static Color white = System.Drawing.Color.White;
  51. static Color whiteSmoke = System.Drawing.Color.WhiteSmoke;
  52. static Color yellow = System.Drawing.Color.Yellow;
  53.  
  54. #endregion Fields
  55.  
  56. #region Properties
  57.  
  58. public static Color Black
  59. {
  60. get { return black; }
  61. }
  62.  
  63. public static Color Blue
  64. {
  65. get { return blue; }
  66. }
  67.  
  68. public static Color BrightBlue
  69. {
  70. get { return brightBlue; }
  71. }
  72.  
  73. public static Color BrightCyan
  74. {
  75. get { return brightCyan; }
  76. }
  77.  
  78. public static Color BrightGreen
  79. {
  80. get { return brightGreen; }
  81. }
  82.  
  83. public static Color BrightRed
  84. {
  85. get { return brightRed; }
  86. }
  87.  
  88. public static Color Brown
  89. {
  90. get { return brown; }
  91. }
  92.  
  93. public static Color Cyan
  94. {
  95. get { return cyan; }
  96. }
  97.  
  98. public static Color DarkGrey
  99. {
  100. get { return darkGrey; }
  101. }
  102.  
  103. public static Color Green
  104. {
  105. get { return green; }
  106. }
  107.  
  108. public static Color Grey
  109. {
  110. get { return grey; }
  111. }
  112.  
  113. public static Color Magenta
  114. {
  115. get { return magenta; }
  116. }
  117.  
  118. public static Color Pink
  119. {
  120. get { return pink; }
  121. }
  122.  
  123. public static Color Red
  124. {
  125. get { return red; }
  126. }
  127.  
  128. public static Color White
  129. {
  130. get { return white; }
  131. }
  132.  
  133. public static Color WhiteSmoke
  134. {
  135. get { return whiteSmoke; }
  136. }
  137.  
  138. public static Color Yellow
  139. {
  140. get { return yellow; }
  141. }
  142.  
  143. #endregion Properties
  144. }
  145. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement