Class SvgFilter
A filter effect consists of a series of graphics operations that are applied to a given source graphic to produce a modified graphical result.
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg.FilterEffects
Assembly: Svg.dll
Syntax
[SvgElement("filter")]
public class SvgFilter : SvgElement, ISvgTransformable, ICloneable, ISvgNode
Properties
| Improve this Doc View SourceFilterUnits
Declaration
public SvgCoordinateUnits FilterUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgCoordinateUnits |
Height
Gets or sets the height of the resulting filter graphic.
Declaration
public SvgUnit Height { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgUnit |
Href
Gets or sets reference to another filter element within the current document fragment.
Declaration
[SvgAttribute("href", "http://www.w3.org/1999/xlink")]
public Uri Href { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
PrimitiveUnits
Declaration
public SvgCoordinateUnits PrimitiveUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgCoordinateUnits |
Width
Gets or sets the width of the resulting filter graphic.
Declaration
public SvgUnit Width { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgUnit |
X
Gets or sets the position where the left point of the filter.
Declaration
public SvgUnit X { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgUnit |
Y
Gets or sets the position where the top point of the filter.
Declaration
public SvgUnit Y { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgUnit |
Methods
| Improve this Doc View SourceApplyFilter(SvgVisualElement, ISvgRenderer, Action<ISvgRenderer>)
Declaration
public void ApplyFilter(SvgVisualElement element, ISvgRenderer renderer, Action<ISvgRenderer> renderMethod)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgVisualElement | element | |
| ISvgRenderer | renderer | |
| Action<ISvgRenderer> | renderMethod |
DeepCopy()
Declaration
public override SvgElement DeepCopy()
Returns
| Type | Description |
|---|---|
| SvgElement |
Overrides
| Improve this Doc View SourceRender(ISvgRenderer)
Renders the SvgElement and contents to the specified ISvgRenderer object.
Declaration
protected override void Render(ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRenderer | renderer | The ISvgRenderer object to render to. |