Enum ColorRendering

Enum ColorRendering

Namespace: Aspose.Svg.Builder
Assembly: Aspose.SVG.dll (25.5.0)

Specifies the color rendering mode for an SVG element.

[ComVisible(true)]
public enum ColorRendering

Fields

Auto = 0

Allows the browser or viewer to choose the color rendering mode, balancing between speed and quality.

This is the default mode where the rendering engine decides the best way to render colors, typically aiming for a balance between performance and visual fidelity.

OptimizeQuality = 2

Prioritizes color accuracy and visual quality over rendering speed.

This mode is optimized for the best visual quality, particularly for static images where rendering speed is less of a concern. It ensures that colors are rendered as accurately as possible.

OptimizeSpeed = 1

Prioritizes rendering speed over color precision and visual quality.

This mode is optimized for performance. It may be useful in scenarios where speed is more critical than color accuracy, such as for animations or interactive content.

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.

 English