Interface ISvgClipable
Defines the methods and properties that an SvgElement must implement to support clipping.
Namespace: Svg
Assembly: Svg.dll
Syntax
public interface ISvgClipable
Properties
| Improve this Doc View SourceClipPath
Gets or sets the ID of the associated SvgClipPath if one has been specified.
Declaration
Uri ClipPath { get; set; }
Property Value
| Type | Description |
|---|---|
| Uri |
ClipRule
Specifies the rule used to define the clipping region when the element is within a SvgClipPath.
Declaration
SvgClipRule ClipRule { get; set; }
Property Value
| Type | Description |
|---|---|
| SvgClipRule |
Methods
| Improve this Doc View SourceResetClip(ISvgRenderer)
Resets the clipping region of the specified ISvgRenderer back to where it was before the SetClip(ISvgRenderer) method was called.
Declaration
void ResetClip(ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRenderer | renderer | The ISvgRenderer to have its clipping region reset. |
SetClip(ISvgRenderer)
Sets the clipping region of the specified ISvgRenderer.
Declaration
void SetClip(ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRenderer | renderer | The ISvgRenderer to have its clipping region set. |