Enum SvgColourInterpolation
Specifies the color space for gradient interpolations, color animations and alpha compositing.
[TypeConverter(typeof(SvgColourInterpolationConverter))]
public enum SvgColourInterpolation
Fields
Auto = 0
Indicates that the user agent can choose either the sRGB or linearRGB spaces for color interpolation. This option indicates that the author doesn't require that color interpolation occur in a particular color space.
Inherit = 3
The value is inherited from the parent element.
LinearRGB = 2
Indicates that color interpolation should occur in the linearized RGB color space as described above.
SRGB = 1
Indicates that color interpolation should occur in the sRGB color space.
Remarks
When a child element is blended into a background, the value of the ‘color-interpolation’ property on the child determines the type of blending, not the value of the ‘color-interpolation’ on the parent. For gradients which make use of the ‘xlink:href’ attribute to reference another gradient, the gradient uses the ‘color-interpolation’ property value from the gradient element which is directly referenced by the ‘fill’ or ‘stroke’ property. When animating colors, color interpolation is performed according to the value of the ‘color-interpolation’ property on the element being animated.