Last change
on this file since 14128 was
12762,
checked in by aballeit, 9 years ago
|
#2283 GUI updates, Tree-chart, MCTS Version 2 (prune leaves)
|
File size:
817 bytes
|
Line | |
---|
1 | // <developer>niklas@protocol7.com</developer>
|
---|
2 | // <completed>90</completed>
|
---|
3 |
|
---|
4 | using System;
|
---|
5 | using System.Xml;
|
---|
6 |
|
---|
7 | namespace SharpVectors.Dom.Svg
|
---|
8 | {
|
---|
9 | /// <summary>
|
---|
10 | /// </summary>
|
---|
11 | public sealed class SvgPolygonElement : SvgPolyElement, ISvgPolygonElement
|
---|
12 | {
|
---|
13 | #region Constructors and Destructor
|
---|
14 |
|
---|
15 | public SvgPolygonElement(string prefix, string localname, string ns, SvgDocument doc)
|
---|
16 | : base(prefix, localname, ns, doc)
|
---|
17 | {
|
---|
18 | }
|
---|
19 |
|
---|
20 | #endregion
|
---|
21 |
|
---|
22 | #region ISharpMarkerHost Members
|
---|
23 |
|
---|
24 | public override SvgPointF[] MarkerPositions
|
---|
25 | {
|
---|
26 | get
|
---|
27 | {
|
---|
28 | SvgPointF[] p1 = base.MarkerPositions;
|
---|
29 | SvgPointF[] p2 = new SvgPointF[p1.Length + 1];
|
---|
30 | Array.Copy(p1, 0, p2, 0, p1.Length);
|
---|
31 | p2[p2.Length-1] = p1[0];
|
---|
32 |
|
---|
33 | return p2;
|
---|
34 | }
|
---|
35 | }
|
---|
36 |
|
---|
37 | #endregion
|
---|
38 | }
|
---|
39 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.