Example #1
0
 /// <summary>
 ///     Append a gradient stop given a color, the color's transparency and the position of gradient stop.
 /// </summary>
 /// <param name="Color">The theme color to be used.</param>
 /// <param name="Tint">
 ///     The tint applied to the theme color, ranging from -1.0 to 1.0. Negative tints darken the theme color
 ///     and positive tints lighten the theme color.
 /// </param>
 /// <param name="Transparency">Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.</param>
 /// <param name="Position">The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.</param>
 public void AppendGradientStop(SLThemeColorIndexValues Color, double Tint, decimal Transparency,
                                decimal Position)
 {
     GradientColor.AppendGradientStop(Color, Tint, Transparency, Position);
 }
Example #2
0
 /// <summary>
 ///     Append a gradient stop given a color, the color's transparency and the position of gradient stop.
 /// </summary>
 /// <param name="Color">The color to be used.</param>
 /// <param name="Transparency">Transparency of the color ranging from 0% to 100%. Accurate to 1/1000 of a percent.</param>
 /// <param name="Position">The position in percentage ranging from 0% to 100%. Accurate to 1/1000 of a percent.</param>
 public void AppendGradientStop(Color Color, decimal Transparency, decimal Position)
 {
     GradientColor.AppendGradientStop(Color, Transparency, Position);
 }