Enum SvgGradientSpreadMethod
Indicates what happens if the gradient starts or ends inside the bounds of the target rectangle.
Namespace: Svg
Assembly: Svg.dll
Syntax
[TypeConverter(typeof(SvgGradientSpreadMethodConverter))]
public enum SvgGradientSpreadMethod
Remarks
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.
If the attribute is not specified, the effect is as if a value of 'pad' were specified.
Fields
| Name | Description |
|---|---|
| Pad | Use the terminal colors of the gradient to fill the remainder of the target region. |
| Reflect | Reflect the gradient pattern start-to-end, end-to-start, start-to-end, etc. continuously until the target rectangle is filled. |
| Repeat | Repeat the gradient pattern start-to-end, start-to-end, start-to-end, etc. continuously until the target region is filled. |