SvgGradientSpreadMethod.cs 1.5 KB

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Collections.Generic;
  3. using System.ComponentModel;
  4. using System.Linq;
  5. using System.Text;
  6. #pragma warning disable
  7. namespace Svg
  8. {
  9. /// <summary>Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.</summary>
  10. /// <remarks>
  11. /// <para>Possible values are: 'pad', which says to use the terminal colors of the gradient to fill the remainder of the target region, 'reflect', which says to reflect the gradient pattern start-to-end, end-to-start, start-to-end, etc. continuously until the target rectangle is filled, and repeat, which says to repeat the gradient pattern start-to-end, start-to-end, start-to-end, etc. continuously until the target region is filled.</para>
  12. /// <para>If the attribute is not specified, the effect is as if a value of 'pad' were specified.</para>
  13. /// </remarks>
  14. [TypeConverter(typeof(SvgGradientSpreadMethodConverter))]
  15. public enum SvgGradientSpreadMethod
  16. {
  17. /// <summary>Use the terminal colors of the gradient to fill the remainder of the target region.</summary>
  18. Pad,
  19. /// <summary>Reflect the gradient pattern start-to-end, end-to-start, start-to-end, etc. continuously until the target rectangle is filled.</summary>
  20. Reflect,
  21. /// <summary>Repeat the gradient pattern start-to-end, start-to-end, start-to-end, etc. continuously until the target region is filled.</summary>
  22. Repeat
  23. }
  24. }
  25. #pragma warning restore