Exemplo n.º 1
0
 /// <summary>
 /// Create a new Gradient using another Gradient.
 /// </summary>
 /// <param name="copy">The source Gradient to copy.</param>
 public Gradient(Gradient copy) : this(copy.Width, copy.Height, copy.GetColor(ColorPosition.TopLeft), copy.GetColor(ColorPosition.TopRight), copy.GetColor(ColorPosition.BottomRight), copy.GetColor(ColorPosition.BottomLeft)) { }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Gradient using another Gradient.
 /// </summary>
 /// <param name="copy">The source Gradient to copy.</param>
 public Gradient(Gradient copy) : this(copy.Width, copy.Height, copy.GetColor(ColorPosition.TopLeft), copy.GetColor(ColorPosition.TopRight), copy.GetColor(ColorPosition.BottomRight), copy.GetColor(ColorPosition.BottomLeft))
 {
 }