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
Height
Gets or sets the height of the resulting filter graphic.
public SvgUnit Height { get; set; }
Property Value
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
PrimitiveUnits
public SvgCoordinateUnits PrimitiveUnits { get; set; }
Property Value
Width
Gets or sets the width of the resulting filter graphic.
public SvgUnit Width { get; set; }
Property Value
X
Gets or sets the position where the left point of the filter.
public SvgUnit X { get; set; }
Property Value
Y
Gets or sets the position where the top point of the filter.
public SvgUnit Y { get; set; }
Property Value
Methods
ApplyFilter(SvgVisualElement, ISvgRenderer, Action<ISvgRenderer>)
public void ApplyFilter(SvgVisualElement element, ISvgRenderer renderer, Action<ISvgRenderer> renderMethod)
Parameters
element
SvgVisualElementrenderer
ISvgRendererrenderMethod
Action<ISvgRenderer>
DeepCopy()
public override SvgElement DeepCopy()
Returns
Render(ISvgRenderer)
Renders the SvgElement and contents to the specified ISvgRenderer object.
protected override void Render(ISvgRenderer renderer)
Parameters
renderer
ISvgRendererThe ISvgRenderer object to render to.