Table of Contents

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 SvgPaintServer
fallbacks IEnumerable<SvgPaintServer>

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

DeepCopy<T>()

public override SvgElement DeepCopy<T>() where T : SvgElement, new()

Returns

SvgElement

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 SvgVisualElement

The owner SvgVisualElement.

renderer ISvgRenderer

The renderer object.

opacity float

The opacity of the brush.

forStroke bool

Not used.

Returns

Brush