Esempio n. 1
0
 internal void SetRectangularGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     IsLinear       = false;
     PathType       = A.PathShadeValues.Rectangle;
     this.Direction = Direction;
     FillGradientStops(Preset);
 }
Esempio n. 2
0
 internal void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.IsLinear  = false;
     this.PathType  = A.PathShadeValues.Circle;
     this.Direction = Direction;
     this.FillGradientStops(Preset);
 }
Esempio n. 3
0
 internal void SetRadialGradient(SLGradientPresetValues Preset, SLGradientDirectionValues Direction)
 {
     this.IsLinear = false;
     this.PathType = A.PathShadeValues.Circle;
     this.Direction = Direction;
     this.FillGradientStops(Preset);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }
Esempio n. 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);
 }