Home
API
Svg
SvgGradientServer
Menu
On this page
SvgGradientServer Class
Definition
Show inherited members (110)
Svg.SvgPaintServer.GetCallback
Svg.SvgPaintServer.None
Svg.SvgPaintServer.Inherit
Svg.SvgPaintServer.NotSet
Svg.SvgPaintServer.ToString()
Svg.SvgElement.GetAnimationValue(System.String)
Svg.SvgElement.TrySetAnimationValue(System.String, System.Object)
Svg.SvgElement.TrySetAnimationValue(System.String, System.ComponentModel.ITypeDescriptorContext, System.Globalization.CultureInfo, System.Object)
Svg.SvgElement.ClearAnimationValue(System.String)
Svg.SvgElement.AddStyle(System.String, System.String, System.Int32)
Svg.SvgElement.FlushStyles(System.Boolean)
Svg.SvgElement.ContainsAttribute(System.String)
Svg.SvgElement.TryGetAttribute(System.String, out System.String)
Svg.SvgElement.HttpClient
Svg.SvgElement.Namespaces
Svg.SvgElement.ElementNamespace
Svg.SvgElement.ElementName
Svg.SvgElement.Color
Svg.SvgElement.Content
Svg.SvgElement.Events
Svg.SvgElement.Load
Svg.SvgElement.Children
Svg.SvgElement.Nodes
Svg.SvgElement.Descendants()
Svg.SvgElement.HasChildren()
Svg.SvgElement.Parent
Svg.SvgElement.Parents
Svg.SvgElement.ParentsAndSelf
Svg.SvgElement.OwnerDocument
Svg.SvgElement.Attributes
Svg.SvgElement.Writing
Svg.SvgElement.GetAttribute<TAttributeType>(System.String, System.Boolean, TAttributeType)
Svg.SvgElement.CustomAttributes
Svg.SvgElement.Transforms
Svg.SvgElement.ID
Svg.SvgElement.SpaceHandling
Svg.SvgElement.SetAndForceUniqueID(System.String, System.Boolean, System.Action<Svg.SvgElement, System.String, System.String>)
Svg.SvgElement.ChildAdded
Svg.SvgElement.InitialiseFromXML(System.Xml.XmlReader, Svg.SvgDocument)
Svg.SvgElement.ShouldWriteElement()
Svg.SvgElement.WriteStartElement(System.Xml.XmlWriter)
Svg.SvgElement.WriteEndElement(System.Xml.XmlWriter)
Svg.SvgElement.WriteAttributes(System.Xml.XmlWriter)
Svg.SvgElement.AutoPublishEvents
Svg.SvgElement.Write(System.Xml.XmlWriter)
Svg.SvgElement.WriteChildren(System.Xml.XmlWriter)
Svg.SvgElement.Clone()
Svg.SvgElement.DeepCopy()
Svg.SvgElement.Svg.ISvgNode.DeepCopy()
Svg.SvgElement.DeepCopy<T>()
Svg.SvgElement.AttributeChanged
Svg.SvgElement.OnAttributeChanged(Svg.AttributeEventArgs)
Svg.SvgElement.ContentChanged
Svg.SvgElement.OnContentChanged(Svg.ContentEventArgs)
Svg.SvgElement.RegisterEvents(Svg.ISvgEventCaller)
Svg.SvgElement.UnregisterEvents(Svg.ISvgEventCaller)
Svg.SvgElement.Click
Svg.SvgElement.MouseDown
Svg.SvgElement.MouseUp
Svg.SvgElement.MouseMove
Svg.SvgElement.MouseScroll
Svg.SvgElement.MouseOver
Svg.SvgElement.MouseOut
Svg.SvgElement.CreateMouseEventAction(System.Action<System.Object, Svg.MouseArg>)
Svg.SvgElement.RaiseMouseClick(System.Object, Svg.MouseArg)
Svg.SvgElement.RaiseMouseDown(System.Object, Svg.MouseArg)
Svg.SvgElement.RaiseMouseUp(System.Object, Svg.MouseArg)
Svg.SvgElement.RaiseMouseMove(System.Object, Svg.MouseArg)
Svg.SvgElement.RaiseMouseOver(System.Object, Svg.MouseArg)
Svg.SvgElement.RaiseMouseOut(System.Object, Svg.MouseArg)
Svg.SvgElement.OnMouseScroll(System.Int32, System.Boolean, System.Boolean, System.Boolean, System.String)
Svg.SvgElement.RaiseMouseScroll(System.Object, Svg.MouseScrollArg)
Svg.SvgElement.IsPathDirty
Svg.SvgElement.InvalidateChildPaths()
Svg.SvgElement.FixOpacityValue(System.Single)
Svg.SvgElement.Fill
Svg.SvgElement.Stroke
Svg.SvgElement.FillRule
Svg.SvgElement.FillOpacity
Svg.SvgElement.StrokeWidth
Svg.SvgElement.StrokeLineCap
Svg.SvgElement.StrokeLineJoin
Svg.SvgElement.StrokeMiterLimit
Svg.SvgElement.StrokeDashArray
Svg.SvgElement.StrokeDashOffset
Svg.SvgElement.StrokeOpacity
Svg.SvgElement.Opacity
Svg.SvgElement.ShapeRendering
Svg.SvgElement.ColorInterpolation
Svg.SvgElement.ColorInterpolationFilters
Svg.SvgElement.Visibility
Svg.SvgElement.Display
Svg.SvgElement.TextAnchor
Svg.SvgElement.DominantBaseline
Svg.SvgElement.BaselineShift
Svg.SvgElement.FontFamily
Svg.SvgElement.FontSize
Svg.SvgElement.FontStyle
Svg.SvgElement.FontVariant
Svg.SvgElement.TextDecoration
Svg.SvgElement.FontWeight
Svg.SvgElement.FontStretch
Svg.SvgElement.TextTransformation
Svg.SvgElement.Font
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Svg.Custom copy of the upstream gradient server base class.
The original implementation delegates stop-color and stop-opacity to the generic attribute
inheritance machinery. That is normally fine, but W3C gradients such as
pservers-grad-18-b rely on two SVG-specific edge cases:
stop-color="inherit" on a child stop must resolve through the parent gradient's
computed stop color, which differs from simply scanning for any ancestor value.
stop-opacity="inherit" must follow the same parent-computed rule even when the
keyword survives only as a raw presentation attribute.
Neither property should fall back through xlink:href; resvg fixtures such as
e-stop-018 expect referenced gradients to keep the initial stop defaults unless
the referenced gradient explicitly authors a stop value of its own.
Upstream stores inherit for paint servers as the shared
Inherit sentinel, which generic code can misread as a concrete
black color. This local copy keeps the rest of the upstream behavior intact, but routes the
stop getters through Svg.SvgStopInheritanceResolver so Svg.Skia follows the same
inheritance chain Chrome does, without carrying a permanent submodule patch.
public abstract class SvgGradientServer : SvgPaintServer, ISvgElement, ISvgTransformable, ICloneable, ISvgNode
Tip: use kind:method, kind:property, kind:ctor. Press Esc to clear.
Properties (7)
Methods (4)