MapCSS in progress. Vast amounts still to do, but the meat of it is here. POIs are...
[potlatch2.git] / net / systemeD / halcyon / styleparser / ShapeStyle.as
index e6319cd..59a13f0 100644 (file)
@@ -1,27 +1,30 @@
 package net.systemeD.halcyon.styleparser {
 
-       public class ShapeStyle {
+       public class ShapeStyle extends Style {
 
-               public var isStroked:Boolean=true;
-               public var stroke_colour:uint=0x777777;
-               public var stroke_width:Number=1;
-               public var stroke_opacity:uint=100;
-               public var stroke_dashArray:Array=[];
-               public var stroke_linecap:String="none";
-               public var stroke_linejoin:String="round";
-               public var sublayer:uint=0;
+               public var width:Number;
+               public var color:Number;
+               public var opacity:Number;
+               public var dashes:Array;
+               public var linecap:String;
+               public var linejoin:String;
                
-               public var isFilled:Boolean=false;
-               public var fill_colour:uint=0xFFFFFF;
-               public var fill_opacity:Number=100;
+               public var fill_color:Number;
+               public var fill_opacity:Number;
                public var fill_pattern:String;
                
-               public var isCased:Boolean=false;
-               public var casing_width:Number=1;
-               public var casing_colour:uint=0;
-               public var casing_opacity:Number=100;
-               public var casing_dashArray:Array=[];
+               public var casing_width:Number;
+               public var casing_color:Number;
+               public var casing_opacity:Number;
+               public var casing_dashes:Array;
                
+               override public function get properties():Array {
+                       return [
+                               'width','color','opacity','dashes','linecap','linejoin',
+                               'fill_color','fill_opacity','fill_pattern',
+                               'casing_width','casing_color','casing_opacity','casing_dashes'
+                       ];
+               }
        }
 
 }