PathGradientBrush.jvm.cs 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. using System;
  2. using System.Drawing;
  3. using System.Runtime.InteropServices;
  4. using awt = java.awt;
  5. namespace System.Drawing.Drawing2D
  6. {
  7. /// <summary>
  8. /// Summary description for PathGradientBrush.
  9. /// </summary>
  10. public sealed class PathGradientBrush : Brush
  11. {
  12. awt.GradientPaint _nativeObject;
  13. Blend blend;
  14. Color centerColor;
  15. PointF center;
  16. PointF focus;
  17. RectangleF rectangle;
  18. Color [] surroundColors;
  19. ColorBlend interpolationColors;
  20. Matrix transform;
  21. WrapMode wrapMode;
  22. protected override java.awt.Paint NativeObject {
  23. get {
  24. return _nativeObject;
  25. }
  26. }
  27. PathGradientBrush (awt.GradientPaint native)
  28. {
  29. _nativeObject = native;
  30. }
  31. public PathGradientBrush (GraphicsPath path)
  32. {
  33. throw new NotImplementedException();
  34. }
  35. public PathGradientBrush (Point [] points) : this (points, WrapMode.Clamp)
  36. {
  37. }
  38. public PathGradientBrush (PointF [] points) : this (points, WrapMode.Clamp)
  39. {
  40. }
  41. public PathGradientBrush (Point [] points, WrapMode wrapMode)
  42. {
  43. throw new NotImplementedException();
  44. }
  45. public PathGradientBrush (PointF [] points, WrapMode wrapMode)
  46. {
  47. throw new NotImplementedException();
  48. }
  49. // Properties
  50. public Blend Blend {
  51. get {
  52. return blend;
  53. }
  54. set {
  55. throw new NotImplementedException();
  56. }
  57. }
  58. public Color CenterColor {
  59. get {
  60. return centerColor;
  61. }
  62. set {
  63. throw new NotImplementedException();
  64. }
  65. }
  66. public PointF CenterPoint {
  67. get {
  68. return center;
  69. }
  70. set {
  71. throw new NotImplementedException();
  72. }
  73. }
  74. public PointF FocusScales {
  75. get {
  76. return focus;
  77. }
  78. set {
  79. throw new NotImplementedException();
  80. }
  81. }
  82. public ColorBlend InterpolationColors {
  83. get {
  84. return interpolationColors;
  85. }
  86. set {
  87. throw new NotImplementedException();
  88. }
  89. }
  90. public RectangleF Rectangle {
  91. get {
  92. return rectangle;
  93. }
  94. }
  95. public Color [] SurroundColors {
  96. get {
  97. return surroundColors;
  98. }
  99. set {
  100. throw new NotImplementedException();
  101. }
  102. }
  103. public Matrix Transform {
  104. get {
  105. return transform;
  106. }
  107. set {
  108. throw new NotImplementedException();
  109. }
  110. }
  111. public WrapMode WrapMode {
  112. get {
  113. return wrapMode;
  114. }
  115. set {
  116. throw new NotImplementedException();
  117. }
  118. }
  119. // Methods
  120. public void MultiplyTransform (Matrix matrix)
  121. {
  122. MultiplyTransform (matrix, MatrixOrder.Prepend);
  123. }
  124. public void MultiplyTransform (Matrix matrix, MatrixOrder order)
  125. {
  126. throw new NotImplementedException();
  127. }
  128. public void ResetTransform ()
  129. {
  130. throw new NotImplementedException();
  131. }
  132. public void RotateTransform (float angle)
  133. {
  134. RotateTransform (angle, MatrixOrder.Prepend);
  135. }
  136. public void RotateTransform (float angle, MatrixOrder order)
  137. {
  138. throw new NotImplementedException();
  139. }
  140. public void ScaleTransform (float sx, float sy)
  141. {
  142. ScaleTransform (sx, sy, MatrixOrder.Prepend);
  143. }
  144. public void ScaleTransform (float sx, float sy, MatrixOrder order)
  145. {
  146. throw new NotImplementedException();
  147. }
  148. public void SetBlendTriangularShape (float focus)
  149. {
  150. SetBlendTriangularShape (focus, 1.0F);
  151. }
  152. public void SetBlendTriangularShape (float focus, float scale)
  153. {
  154. throw new NotImplementedException();
  155. }
  156. public void SetSigmaBellShape (float focus)
  157. {
  158. SetSigmaBellShape (focus, 1.0F);
  159. }
  160. public void SetSigmaBellShape (float focus, float scale)
  161. {
  162. throw new NotImplementedException();
  163. }
  164. public void TranslateTransform (float dx, float dy)
  165. {
  166. TranslateTransform (dx, dy, MatrixOrder.Prepend);
  167. }
  168. public void TranslateTransform (float dx, float dy, MatrixOrder order)
  169. {
  170. throw new NotImplementedException();
  171. }
  172. public override object Clone ()
  173. {
  174. throw new NotImplementedException();
  175. }
  176. }
  177. }