Class SvgClipPath
Defines a path that can be used by other ISvgClipable elements.
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
[SvgElement("clipPath")]
public class SvgClipPath : SvgElement, ISvgTransformable, ICloneable, ISvgNode
Properties
| Improve this Doc View SourceClipPathUnits
Specifies the coordinate system for the clipping path.
Declaration
public SvgCoordinateUnits ClipPathUnits { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgCoordinateUnits |
Methods
| Improve this Doc View SourceAddElement(SvgElement, Int32)
Called by the underlying SvgElement when an element has been added to the 'Children' collection.
Declaration
protected override void AddElement(SvgElement child, int index)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgElement | child | The SvgElement that has been added. |
| Int32 | index | An Int32 representing the index where the element was added to the collection. |
Overrides
| Improve this Doc View SourceDeepCopy()
Declaration
public override SvgElement DeepCopy()
Returns
| Type | Description |
|---|---|
| SvgElement |
Overrides
| Improve this Doc View SourceGetClipRegion(SvgVisualElement, ISvgRenderer)
Gets this SvgClipPath's region to be used as a clipping region.
Declaration
public Region GetClipRegion(SvgVisualElement owner, ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgVisualElement | owner | |
| ISvgRenderer | renderer |
Returns
| Type | Description |
|---|---|
| Region | A new |
RemoveElement(SvgElement)
Called by the underlying SvgElement when an element has been removed from the Children collection.
Declaration
protected override void RemoveElement(SvgElement child)
Parameters
| Type | Name | Description |
|---|---|---|
| SvgElement | child | The SvgElement that has been removed. |
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. |