Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorModel/Text/SvgTRefElement.cs @ 13599

Last change on this file since 13599 was 12762, checked in by aballeit, 9 years ago

#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)

File size: 781 bytes
Line 
1using System;
2using System.Xml;
3
4namespace SharpVectors.Dom.Svg
5{
6  /// <summary>
7  /// Summary description for SvgTRefElement.
8  /// </summary>
9    public sealed class SvgTRefElement : SvgTextPositioningElement, ISvgTRefElement
10  {
11        private SvgUriReference svgURIReference;
12
13        public SvgTRefElement(string prefix, string localname, string ns, SvgDocument doc)
14            : base(prefix, localname, ns, doc)
15    {
16      svgURIReference = new SvgUriReference(this);
17    }
18
19    #region ISvgURIReference Members
20
21    public ISvgAnimatedString Href
22    {
23      get
24      {
25        return svgURIReference.Href;
26      }
27    }
28
29    public XmlElement ReferencedElement
30    {
31      get
32      {
33        return svgURIReference.ReferencedNode as XmlElement;
34      }
35    }
36
37    #endregion
38  }
39}
Note: See TracBrowser for help on using the repository browser.