Last change
on this file since 13459 was
12762,
checked in by aballeit, 9 years ago
|
#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)
|
File size:
1.5 KB
|
Line | |
---|
1 | using System;
|
---|
2 | using System.Text;
|
---|
3 | using System.Xml;
|
---|
4 |
|
---|
5 | namespace SharpVectors.Dom.Svg
|
---|
6 | {
|
---|
7 | /// <summary>
|
---|
8 | /// The SVGScriptElement interface corresponds to the 'script' element.
|
---|
9 | /// </summary>
|
---|
10 | public sealed class SvgScriptElement : SvgElement, ISvgScriptElement
|
---|
11 | {
|
---|
12 | private SvgUriReference svgURIReference;
|
---|
13 | private SvgExternalResourcesRequired svgExternalResourcesRequired;
|
---|
14 |
|
---|
15 | #region Constructors
|
---|
16 |
|
---|
17 | public SvgScriptElement(string prefix, string localname, string ns, SvgDocument doc)
|
---|
18 | : base(prefix, localname, ns, doc)
|
---|
19 | {
|
---|
20 | svgURIReference = new SvgUriReference(this);
|
---|
21 | svgExternalResourcesRequired = new SvgExternalResourcesRequired(this);
|
---|
22 | }
|
---|
23 |
|
---|
24 | #endregion
|
---|
25 |
|
---|
26 | public string Type
|
---|
27 | {
|
---|
28 | get
|
---|
29 | {
|
---|
30 | return GetAttribute("type");
|
---|
31 | }
|
---|
32 | set
|
---|
33 | {
|
---|
34 | SetAttribute("type", value);
|
---|
35 | }
|
---|
36 | }
|
---|
37 |
|
---|
38 | #region ISvgURIReference Members
|
---|
39 |
|
---|
40 | public ISvgAnimatedString Href
|
---|
41 | {
|
---|
42 | get
|
---|
43 | {
|
---|
44 | return svgURIReference.Href;
|
---|
45 | }
|
---|
46 | }
|
---|
47 |
|
---|
48 | #endregion
|
---|
49 |
|
---|
50 | #region Implementation of ISvgExternalResourcesRequired
|
---|
51 |
|
---|
52 | public ISvgAnimatedBoolean ExternalResourcesRequired
|
---|
53 | {
|
---|
54 | get
|
---|
55 | {
|
---|
56 | return svgExternalResourcesRequired.ExternalResourcesRequired;
|
---|
57 | }
|
---|
58 | }
|
---|
59 |
|
---|
60 | #endregion
|
---|
61 | }
|
---|
62 | }
|
---|
Note: See
TracBrowser
for help on using the repository browser.