ColorRendering Enum

ColorRendering enumeration

Specifies the color rendering mode for an SVG element.

public enum ColorRendering

Values

NameValueDescription
Auto0Allows the browser or viewer to choose the color rendering mode, balancing between speed and quality.
OptimizeSpeed1Prioritizes rendering speed over color precision and visual quality.
OptimizeQuality2Prioritizes color accuracy and visual quality over rendering speed.

Remarks

This property determines how colors are rendered, especially when dealing with color gradients, patterns, and image rendering. Different modes can affect the performance and quality of the color rendering process.

See Also