Class SvgFallbackPaintServer
- Namespace
- Svg
- Assembly
- Svg.dll
A wrapper for a paint server has a fallback if the primary server doesn't work.
[Obsolete("Will be removed.Use SvgDeferredPaintServer class instead.")]
public class SvgFallbackPaintServer : SvgPaintServer, ISvgTransformable, ICloneable, ISvgNode
- Inheritance
-
SvgFallbackPaintServer
- Implements
- Inherited Members
- Extension Methods
Constructors
SvgFallbackPaintServer()
public SvgFallbackPaintServer()
SvgFallbackPaintServer(SvgPaintServer, IEnumerable<SvgPaintServer>)
public SvgFallbackPaintServer(SvgPaintServer primary, IEnumerable<SvgPaintServer> fallbacks)
Parameters
primary
SvgPaintServerfallbacks
IEnumerable<SvgPaintServer>
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
DeepCopy<T>()
public override SvgElement DeepCopy<T>() where T : SvgElement, new()
Returns
Type Parameters
T
GetBrush(SvgVisualElement, ISvgRenderer, float, bool)
Gets a Brush representing the current paint server.
public override Brush GetBrush(SvgVisualElement styleOwner, ISvgRenderer renderer, float opacity, bool forStroke = false)
Parameters
styleOwner
SvgVisualElementThe owner SvgVisualElement.
renderer
ISvgRendererThe renderer object.
opacity
floatThe opacity of the brush.
forStroke
boolNot used.