public EllipticalGradient(IRgb[] colors, Styles.Drawing.PointF location) : base(colors) { Center = location; Type = GradientType.Ellipse; }
public EllipticalGradient(IRgb[] colors, float locationX, float locationY) : base(colors) { Center = new Styles.Drawing.PointF(locationX, locationY); Type = GradientType.Ellipse; }
public EllipticalGradient(IRgb[] colors) : base(colors) { Center = new Styles.Drawing.PointF(.5f, .5f); Type = GradientType.Ellipse; }
// Work around method while not working in bait and switch public void SetCenter(float x, float y) { this.Center = new Styles.Drawing.PointF(x, y); }
public RadialGradient(IRgb[] colors, Styles.Drawing.PointF location) : base(colors) { Center = location; Type = GradientType.Radial; }
public RadialGradient(IRgb[] colors) : base(colors) { Center = new PointF(0, 0); Type = GradientType.Radial; }