Class SvgAltGlyphDefElement
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
This implements the ISvgAltGlyphDefElement interface corresponds to the 'altGlyphDef' element.
public sealed class SvgAltGlyphDefElement : SvgElement, ICloneable, IEnumerable, IXPathNavigable, IEventTargetSupport, IEventTarget, IElementCssInlineStyle, ISvgAltGlyphDefElement, ISvgElement, IElement, IXmlElement, INode, IXmlNode
- Inheritance
-
SvgAltGlyphDefElement
- Implements
- Inherited Members
Remarks
Content model: Either
- one or more 'glyphRef' elements, orIn the simplest case, an 'altGlyphDef' contains one or more 'glyphRef' elements. Each 'glyphRef' element references a single glyph within a particular font.
- one or more 'altGlyphItem' elements.In the more complex case, an 'altGlyphDef' contains one or more 'altGlyphItem' elements. Each 'altGlyphItem' represents a candidate set of substitute glyphs. Each 'altGlyphItem' contains one or more 'glyphRef' elements. Each 'glyphRef' element references a single glyph within a particular font.
Constructors
- SvgAltGlyphDefElement(string, string, string, SvgDocument)
Initializes a new instance of the SvgAltGlyphDefElement class with the specified parameters.
Properties
- GlyphRef
Gets the first child element with the name 'glyphRef'.
- IsRenderable
Gets a value indicating whether this SVG element is renderable.
- IsSimple
Gets a value indicating whether this is a simple content model.
Methods
- GetGlyphItem(string)
Gets the ISvgAltGlyphItemElement with the specified name or ID.
- GetGlyphRef(string)
Gets the ISvgGlyphRefElement with the specified name or ID.