Aspose.Svg

中的所有类 Aspose.Svg.Dom.Svg命名空间基于 w3c SVG2 建议。使用此命名空间,您可以加载、 根据您的要求导航或渲染 SVG 文件。

课程

班级描述
Configuration表示用于设置应用程序环境设置的配置上下文对象。
FontsSettings表示字体处理设置。
License提供许可组件的方法。
Metered提供设置计量键的方法。
MimeType表示 Internet 媒体类型
PlatformException表示应用程序执行期间可能发生的所有异常的基类。
SVGAElementSVGAElement 接口对应“a”元素。
SVGAnimateElementSVGAnimateElement 接口对应于“animate”元素。 无法通过 SVG DOM 对“animate”元素的属性进行面向对象的访问。
SVGAnimateMotionElementSVGAnimateMotionElement 接口对应于“animateMotion”元素。 无法通过 SVG DOM 对“animateMotion”元素的属性进行面向对象的访问。
SVGAnimateTransformElementSVGAnimateTransformElement 接口对应于“animateTransform”元素。 无法通过 SVG DOM 对“animateTransform”元素的属性进行面向对象的访问。
SVGAnimationElementSVGAnimationElement 接口是所有动画元素接口的基础接口:SVGAnimateElement、SVGSetElement、SVGAnimateColorElement、SVGAnimateMotionElement 和 SVGAnimateTransformElement.
SVGCircleElementSVGCircleElement 接口对应于 ‘circle’ 元素。
SVGClipPathElementSVGClipPathElement 接口对应于“clipPath”元素。
SVGComponentTransferFunctionElement该接口定义了组件传递函数接口使用的基本接口。
SVGCursorElementSVGCursorElement 接口对应于“光标”元素。
SVGDefsElementSVGDefsElement 接口对应于“defs”元素。
SVGDescElementSVGDescElement 接口对应于“desc”元素。
SVGDocument一个SVG文档是 SVG 层次结构的根,包含整个内容。除了提供对层次结构的访问之外,它还提供了一些方便的方法来访问文档中的某些信息集。元素内嵌在 XHTML 文档 [XHTML] 中,则 SVGDocument 对象将不存在;相反,文档对象层次结构中的根对象将是不同类型的 Document 对象,例如 HTMLDocument 对象。 但是,当 XML 文档层次结构的根元素是“svg”元素时,SVGDocument 对象确实存在,例如查看独立的 SVG 文件(即 MIME 类型为“image/svg+xml”的文件)时。在这种情况下,SVGDocument 对象将是文档对象模型层次结构的根对象。
SVGElement与 SVG 语言中的元素直接对应的所有 SVG DOM 接口(例如 ‘path’ 元素的 SVGPathElement 接口)都派生自 SVGElement 接口。
SVGElementInstance每个使用元素阴影树的根对象都实现了 SVGUseElementShadowRoot 接口。此接口当前没有为 ShadowRoot 接口和 DocumentOrShadowRoot mixin 定义的属性和方法定义任何扩展。但是,从作者脚本的角度来看,以该节点为根的树是完全只读的。
SVGEllipseElementSVGEllipseElement 接口对应于“椭圆”元素。
SVGException当特定的 SVG 操作无法执行时会引发此异常。
SVGFilterElementSVGFilterElement 接口对应于“过滤器”元素。
SVGForeignObjectElementSVGForeignObjectElement 接口对应于“foreignObject”元素。
SVGGElementSVGGElement 接口对应于“g”元素。
SVGGeometryElement接口 SVGGeometryElement 表示 SVG 元素,其渲染由具有等效路径的几何定义,并且可以填充和描边。这包括路径和基本形状。
SVGGradientElementSVGGradientElement 接口是 SVGLinearGradientElement 和 SVGRadialGradientElement 使用的基础接口。
SVGGraphicsElementSVGGraphicsElement 接口表示 SVG 元素,其主要目的是直接将图形渲染成一个组。
SVGImageElementSVGImageElement 接口对应于“图像”元素。
SVGLinearGradientElementSVGLinearGradientElement 接口对应于“linearGradient”元素。
SVGLineElementSVGLineElement 接口对应’line’ 元素。
SVGMarkerElementSVGMarkerElement 接口对应于“标记”元素。
SVGMaskElementSVGMaskElement 接口对应于“掩码”元素。
SVGMetadataElementSVGMetadataElement 接口对应于“元数据”元素。
SVGMPathElementSVGMPathElement 接口对应于“mpath”元素。
SVGPathElementSVGPathElement 接口对应于“路径”元素。
SVGPatternElementSVGPatternElement 接口对应于“模式”元素。
SVGPolygonElementSVGPolygonElement 接口对应于“多边形”元素。
SVGPolylineElementSVGPolylineElement 接口对应“折线”元素。
SVGRadialGradientElementSVGRadialGradientElement 接口对应于“radialGradient”元素。
SVGRectElementSVGRectElement 接口对应于“rect”元素。
SVGScriptElementSVGScriptElement 接口对应于“脚本”元素。
SVGSetElementSVGSetElement 接口对应于“set”元素。 无法通过 SVG DOM 对“set”元素的属性进行面向对象的访问。
SVGStopElementSVGStopElement 接口对应于“停止”元素。
SVGStyleElementSVGStyleElement 接口对应于’style’元素。
SVGSVGElement一个关键的接口定义是 SVGSVGElement 接口,它是对应于 ‘svg’ 元素的接口。该接口包含各种其他常用的实用方法,例如矩阵运算和在视觉渲染设备上控制重绘时间的能力。
SVGSwitchElementSVGSwitchElement 接口对应于“开关”元素。
SVGSymbolElementSVGSymbolElement 接口对应于 ‘symbol’ 元素。
SVGTextContentElementSVGTextContentElement 被各种与文本相关的接口继承,例如 SVGTextElement、SVGTSpanElement、SVGTRefElement、SVGAltGlyphElement 和 SVGTextPathElement。 对于该接口上引用一个字符或多个字符的索引的方法,这些引用是分别解释为一个 UTF-16 代码单元或多个 UTF-16 代码单元的索引。这是为了与 DOM Level 2 Core 保持一致,其中 CharacterData 接口上的方法使用 UTF-16 代码单元作为字符数据中的索引和计数。因此,例如,如果“文本”元素的文本内容是单个非BMP 字符,例如 U+10000,然后对该元素调用 getNumberOfChars 将返回 2,因为有两个 UTF-16 代码单元(代理对)用于表示该字符。
SVGTextElementSVGTextElement 接口对应于“文本”元素。
SVGTextPathElementSVGTextPathElement 接口对应于“textPath”元素。
SVGTextPositioningElementSVGTextPositioningElement 接口由文本相关接口继承:SVGTextElement、SVGTSpanElement、SVGTRefElement 和 SVGAltGlyphElement。
SVGTitleElementSVGTitleElement 接口对应于’title’元素。
SVGTSpanElementSVGTSpanElement 接口对应于“tspan”元素。
SVGUseElementSVGUseElement 接口对应于“使用”元素。
SVGViewElementSVGViewElement 接口对应于“视图”元素。
Url提供通用标识符 (URL) 的对象表示。

接口

界面描述
ISVGAnimatedPointsSVGAnimatedPoints 接口支持具有“points”属性的元素,该属性包含坐标值列表并支持对该属性进行动画处理。 此外,通过 XML DOM 访问的原始元素上的“points”属性(例如,使用 getAttribute() 方法调用)将反映对 points. 所做的任何更改
ISVGFitToViewBoxSVGFitToViewBox 接口定义了适用于具有 XML 属性“viewBox”和“preserveAspectRatio”的元素的 DOM 属性。
ISVGRenderingIntentSVGRenderingIntent 接口定义了“rendering-intent”属性或描述符的可能值的枚举列表。
ISVGTests接口 SVGTests 定义了一个接口,该接口适用于所有具有“requiredFeatures”、“requiredExtensions”和“systemLanguage”属性的元素。
ISVGUnitTypesSVGUnitTypes 接口定义了一组常用的常量,是 SVGGradientElement、SVGPatternElement、SVGClipPathElement、SVGMaskElement 和 SVGFilterElement 使用的基本接口。
ISVGURIReference接口 SVGURIReference 定义了一个接口,该接口适用于所有具有 XLink 属性集合的元素,例如 ‘xlink:href’,它定义了一个 URI 引用。
ISVGZoomAndPanSVGZoomAndPan 接口定义了属性 zoomAndPan 和相关的常量。
IUrlSearchParams提供处理 URL 查询字符串的方法。

枚举

枚举描述
Sandbox沙盒标志集是一组零个或多个以下标志,用于限制可能不受信任的资源的能力。
SVGRenderingIntentSVGRenderingIntent 枚举定义了“rendering-intent”属性或描述符的可能值的枚举列表。
SVGUnitTypesSVGUnitTypes 枚举定义了一组常用的常量,是 SVGGradientElement、SVGPatternElement、SVGClipPathElement、SVGMaskElement 和 SVGFilterElement 使用的基本接口。
SVGZoomAndPanSVGZoomAndPan 枚举定义了属性 zoomAndPan 和相关的常量。