Table of Contents

Class SvgFilter

Namespace
Svg.FilterEffects
Assembly
Svg.dll

A filter effect consists of a series of graphics operations that are applied to a given source graphic to produce a modified graphical result.

[SvgElement("filter")]
public class SvgFilter : SvgElement, ISvgTransformable, ICloneable, ISvgNode
Inheritance
SvgFilter
Implements
Inherited Members
Extension Methods

Properties

FilterUnits

public SvgCoordinateUnits FilterUnits { get; set; }

Property Value

SvgCoordinateUnits

Height

Gets or sets the height of the resulting filter graphic.

public SvgUnit Height { get; set; }

Property Value

SvgUnit

Href

Gets or sets reference to another filter element within the current document fragment.

[SvgAttribute("href", "http://www.w3.org/1999/xlink")]
public Uri Href { get; set; }

Property Value

Uri

PrimitiveUnits

public SvgCoordinateUnits PrimitiveUnits { get; set; }

Property Value

SvgCoordinateUnits

Width

Gets or sets the width of the resulting filter graphic.

public SvgUnit Width { get; set; }

Property Value

SvgUnit

X

Gets or sets the position where the left point of the filter.

public SvgUnit X { get; set; }

Property Value

SvgUnit

Y

Gets or sets the position where the top point of the filter.

public SvgUnit Y { get; set; }

Property Value

SvgUnit

Methods

ApplyFilter(SvgVisualElement, ISvgRenderer, Action<ISvgRenderer>)

public void ApplyFilter(SvgVisualElement element, ISvgRenderer renderer, Action<ISvgRenderer> renderMethod)

Parameters

element SvgVisualElement
renderer ISvgRenderer
renderMethod Action<ISvgRenderer>

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

Render(ISvgRenderer)

Renders the SvgElement and contents to the specified ISvgRenderer object.

protected override void Render(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The ISvgRenderer object to render to.