Beispiel #1
0
 internal void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     IsLinear       = false;
     PathType       = A.PathShadeValues.Rectangle;
     this.Direction = Direction;
     FillGradientStops(Preset);
 }
Beispiel #2
0
 internal void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.IsLinear  = false;
     this.PathType  = A.PathShadeValues.Circle;
     this.Direction = Direction;
     this.FillGradientStops(Preset);
 }
Beispiel #3
0
 internal void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.IsLinear = false;
     this.PathType = A.PathShadeValues.Circle;
     this.Direction = Direction;
     this.FillGradientStops(Preset);
 }
Beispiel #4
0
 /// <summary>
 /// Set a rectangular gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The rectangular gradient direction.</param>
 public void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.UseGradientLine = true;
     this.GradientColor.SetRectangularGradient(Preset, Direction);
 }
Beispiel #5
0
 /// <summary>
 /// Set a rectangular gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The rectangular gradient direction.</param>
 public void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.Type = SLFillType.GradientFill;
     this.GradientColor.SetRectangularGradient(Preset, Direction);
 }
 /// <summary>
 /// Set a rectangular gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The rectangular gradient direction.</param>
 public void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.UseGradientLine = true;
     this.GradientColor.SetRectangularGradient(Preset, Direction);
 }
Beispiel #7
0
 /// <summary>
 /// Set a rectangular gradient given a preset setting.
 /// </summary>
 /// <param name="Preset">The preset to be used.</param>
 /// <param name="Direction">The rectangular gradient direction.</param>
 public void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.Type = SLFillType.GradientFill;
     this.GradientColor.SetRectangularGradient(Preset, Direction);
 }
Beispiel #8
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);
 }
Beispiel #9
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);
 }