ShapeRendering Enum

ShapeRendering enumeration

Specifies the shape rendering mode for SVG elements.

public enum ShapeRendering

Values

NameValueDescription
Auto0The browser makes trade-offs between speed, smoothness, and geometric precision when rendering shapes.
OptimizeSpeed1The browser emphasizes rendering speed over geometric precision and smoothness. This mode can lead to faster rendering but less accurate shapes.
CrispEdges2The browser attempts to preserve sharp edges and corners. This mode is useful for rendering graphics with straight lines and edges.
GeometricPrecision3The browser emphasizes geometric precision in rendering at the cost of speed. This mode is suitable for high-quality rendering where precise geometry is important.

See Also