コード例 #1
0
 /// <summary>
 ///     Set a radial gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The radial gradient direction.</param>
 public void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     UseGradientLine = true;
     GradientColor.SetRadialGradient(Preset, Direction);
 }
コード例 #2
0
 /// <summary>
 ///     Set a radial gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The radial gradient direction.</param>
 public void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     Type = SLFillType.GradientFill;
     GradientColor.SetRadialGradient(Preset, Direction);
 }