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