Class SvgClipPath
- Namespace
- Svg
- Assembly
- Svg.dll
Defines a path that can be used by other ISvgClipable elements.
[SvgElement("clipPath")]
public class SvgClipPath : SvgElement, ISvgTransformable, ICloneable, ISvgNode
- Inheritance
-
SvgClipPath
- Implements
- Inherited Members
- Extension Methods
Properties
ClipPathUnits
Specifies the coordinate system for the clipping path.
public SvgCoordinateUnits ClipPathUnits { get; set; }
Property Value
Methods
AddElement(SvgElement, int)
Called by the underlying SvgElement when an element has been added to the 'Children' collection.
protected override void AddElement(SvgElement child, int index)
Parameters
child
SvgElementThe SvgElement that has been added.
index
intAn int representing the index where the element was added to the collection.
DeepCopy()
public override SvgElement DeepCopy()
Returns
GetClipRegion(SvgVisualElement, ISvgRenderer)
Gets this SvgClipPath's region to be used as a clipping region.
public Region GetClipRegion(SvgVisualElement owner, ISvgRenderer renderer)
Parameters
owner
SvgVisualElementrenderer
ISvgRenderer
Returns
RemoveElement(SvgElement)
Called by the underlying SvgElement when an element has been removed from the Children collection.
protected override void RemoveElement(SvgElement child)
Parameters
child
SvgElementThe SvgElement that has been removed.
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.