/// <summary> /// Create a solid fill /// </summary> /// <param name="fillTarget">The area that will be filled.</param> /// <param name="color">an RRGGBB format hexadecimal number</param> public SolidFill(ChartFillTarget fillTarget, string color) { this.fillTarget = fillTarget; this.color = color; }
/// <summary> /// Create a linear gradient /// </summary> /// <param name="fillTarget">area to be filled</param> /// <param name="angle">specifies the angle of the gradient between 0 (horizontal) and 90 (vertical)</param> public LinearGradientFill(ChartFillTarget fillTarget, int angle) { this.fillTarget = fillTarget; this.angle = angle; }
/// <summary> /// Create a linear stripes fill. /// </summary> /// <param name="fillTarget">The area that will be filled.</param> /// <param name="angle">specifies the angle of the gradient between 0 (vertical) and 90 (horizontal)</param> public LinearStripesFill(ChartFillTarget fillTarget, int angle) { this.fillTarget = fillTarget; this.angle = angle; }