PeachDrawing.Svg

SvgConicGradientMode Enum

How an SvgCanvas writes a conic gradient, which SVG has no paint server for.

public enum SvgConicGradientMode

Fields

Wedges 0

A fan of 360 thin wedges, one degree each, clipped to the shape (or, for a stroke, painted through a mask of it). Every viewer draws it; a very large gradient shows the steps.

Css 1

A CSS conic-gradient() in a <foreignObject> - exact, smooth and as large as it is drawn - for a viewer that supports it (browsers). The wedges follow in the same <switch> as the fallback for every other viewer, which ignore the foreign content.