X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=dev4%2Fpsychlops%2Fcore%2Fgraphic%2Fshape.cs;fp=dev4%2Fpsychlops%2Fcore%2Fgraphic%2Fshape.cs;h=b007b7f40227e8b6dc78dbb46ffc2e547571ab1c;hb=7b907758692783aad332a63a2a4084c0f2e34dcb;hp=23cbecad2f42cf78a8854bd48d3147386026be52;hpb=60468a6671a33f5f9ec05e5be1c78f48b99f8e6b;p=psychlops%2Fsilverlight.git diff --git a/dev4/psychlops/core/graphic/shape.cs b/dev4/psychlops/core/graphic/shape.cs index 23cbeca..b007b7f 100644 --- a/dev4/psychlops/core/graphic/shape.cs +++ b/dev4/psychlops/core/graphic/shape.cs @@ -70,6 +70,26 @@ namespace Psychlops{ set { begin = value; } } + //public static Line[] this[int x] { get { return Array(x); } } + //public static Line[,] this[int x, int y] { get { return Array(x, y); } } + public static Line[] Array(int ind) + { + Line[] l = new Line[ind]; + for(int i=0; i