SvgGradientStop Class

Definition

Namespace Svg
Assembly Svg.Custom.dll
Inherits ObjectSvgElement
Show inherited members (106)

Svg.Custom copy of the upstream gradient stop element.

The original stop getters rely on the generic inherited-attribute path. That path loses the distinction between the SVG keyword inherit and the shared Inherit sentinel, which turns inherited stop colors into an accidental black color in cases like pservers-grad-18-b. It also misses stop-opacity="inherit" when the parser had to keep the raw string form.

This local copy keeps the public API and parse behavior identical to upstream, but resolves stop inheritance through Svg.SvgStopInheritanceResolver so Svg.Skia can honor the same Chrome/W3C semantics without modifying the vendored SVG submodule.

[SvgElement("stop")]
public class SvgGradientStop : SvgElement, ISvgElement, ISvgTransformable, ICloneable, ISvgNode
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.

Constructors (2)

Properties (3)

Methods (3)