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