Class SvgPatternElement
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
public sealed class SvgPatternElement : SvgStyleableElement, ICloneable, IEnumerable, IXPathNavigable, IEventTargetSupport, IEventTarget, IElementCssInlineStyle, ISvgPatternElement, ISvgElement, IElement, IXmlElement, INode, IXmlNode, ISvgUriReference, ISvgTests, ISvgLangSpace, ISvgExternalResourcesRequired, ISvgStylable, ISvgFitToViewBox
- Inheritance
-
SvgPatternElement
- Implements
- Inherited Members
Constructors
Properties
- CurrentView
The definition of the initial view (i.e., before magnification and panning) of the current innermost SVG document fragment. The meaning depends on the situation:
- If the initial view was a "standard" view, then: o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will match the values for the corresponding DOM attributes that are on SVGSVGElement directly o the values for transform and viewTarget within currentView will be null
- If the initial view was a link into a 'view' element, then: o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will correspond to the corresponding attributes for the given 'view' element o the values for transform and viewTarget within currentView will be null
- If the initial view was a link into another element (i.e., other than a 'view'), then: o the values for viewBox, preserveAspectRatio and zoomAndPan within currentView will match the values for the corresponding DOM attributes that are on SVGSVGElement directly for the closest ancestor 'svg' element o the values for transform within currentView will be null o the viewTarget within currentView will represent the target of the link
- If the initial view was a link into the SVG document fragment using an SVG view specification fragment identifier (i.e., #svgView(...)), then: o the values for viewBox, preserveAspectRatio, zoomAndPan, transform and viewTarget within currentView will correspond to the values from the SVG view specification fragment identifier The object itself and its contents are both readonly.
- ExternalResourcesRequired
Corresponds to attribute externalResourcesRequired on the given element.
- IsRenderable
Gets a value indicating whether this SVG element is renderable.
- RenderingHint
Gets a value providing a hint on the rendering defined by this element.
- ViewBoxTransform
This function is super useful, calculates out the transformation matrix (i.e., scale and translate) of the viewport to user space.