OSDN Git Service

12313
[psychlops/silverlight.git] / dev4 / psychlops / core / graphic / shape.cs
index 9cebe91..23cbeca 100644 (file)
@@ -19,6 +19,10 @@ namespace Psychlops{
        }\r
        public static class ShapeExtention\r
        {\r
+               public static void draw(this Shape drawee, double c)\r
+               {\r
+                       drawee.draw( new Color(c) );\r
+               }\r
                public static void draw(this Shape drawee, Color c)\r
                {\r
                        Color tmp_col = drawee.fill;\r