ColorRendering enumeration

ColorRendering enumeration

Specifies the color rendering mode for an SVG element.

The ColorRendering type exposes the following members:

Fields

FieldDescription
AUTOAllows the browser or viewer to choose the color rendering mode, balancing between speed and quality.
OPTIMIZE_SPEEDPrioritizes rendering speed over color precision and visual quality.
OPTIMIZE_QUALITYPrioritizes 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