Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/SharpVectorModel/DocumentStructure/SvgColorProfileElement.cs @ 12762

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

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

File size: 1.3 KB
Line 
1using System;
2using System.Xml;
3
4namespace SharpVectors.Dom.Svg
5{
6    public sealed class SvgColorProfileElement : SvgElement, ISvgColorProfileElement
7    {
8        #region Private Fields
9
10        private SvgUriReference _svgURIReference;
11
12        #endregion
13
14        #region Constructors and Destructors
15
16        public SvgColorProfileElement(string prefix, string localname, string ns, SvgDocument doc)
17            : base(prefix, localname, ns, doc)
18        {
19            _svgURIReference = new SvgUriReference(this);
20        }
21
22        #endregion
23
24        #region ISvgColorProfileElement Members
25
26        public string Local
27        {
28            get
29            {
30                return String.Empty;
31            }
32        }
33
34        #endregion
35
36        #region ISvgURIReference Members
37
38        public ISvgAnimatedString Href
39        {
40            get
41            {
42                return _svgURIReference.Href;
43            }
44        }
45
46        public SvgUriReference UriReference
47        {
48            get
49            {
50                return _svgURIReference;
51            }
52        }
53
54        public XmlElement ReferencedElement
55        {
56            get
57            {
58                return _svgURIReference.ReferencedNode as XmlElement;
59            }
60        }
61
62        #endregion
63    }
64}
Note: See TracBrowser for help on using the repository browser.