/// <summary>
 /// Creates a new radial gradient.
 /// </summary>
 /// <param name="circle">Determines if the radial gradient has to be forced to a circle form.</param>
 /// <param name="pt">The center point of the gradient.</param>
 /// <param name="width">The width of the ellipsoid.</param>
 /// <param name="height">The height of the ellipsoid.</param>
 /// <param name="sizeMode">The size mode of the ellipsoid.</param>
 /// <param name="stops">A collection of stops to use.</param>
 /// <param name="repeating">The repeating setting.</param>
 public RadialGradient(Boolean circle, Point pt, Length width, Length height, SizeMode sizeMode, GradientStop[] stops, Boolean repeating = false)
 {
     _stops = stops;
     _pt = pt;
     _width = width;
     _height = height;
     _repeating = repeating;
     _circle = circle;
     _sizeMode = sizeMode;
 }
 /// <summary>
 /// Creates a new linear gradient.
 /// </summary>
 /// <param name="angle">The angle of the linear gradient.</param>
 /// <param name="stops">The stops to use.</param>
 /// <param name="repeating">Indicates if the gradient is repeating.</param>
 public LinearGradient(Angle angle, GradientStop[] stops, Boolean repeating = false)
 {
     _stops = stops;
     _angle = angle;
     _repeating = repeating;
 }