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 c00fd3c..59a13f0 100644 (file)
@@ -1,29 +1,30 @@
 package net.systemeD.halcyon.styleparser {
 
 package net.systemeD.halcyon.styleparser {
 
-       import flash.utils.ByteArray;
+       public class ShapeStyle extends Style {
 
 
-       public class ShapeStyle {
-
-               public var isStroked:Boolean=true;
-               public var stroke_width:Number;
-               public var stroke_colour:Number;
-               public var stroke_opacity:Number;
-               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:Number;
+               public var fill_color:Number;
                public var fill_opacity:Number;
                public var fill_pattern:String;
                
                public var fill_opacity:Number;
                public var fill_pattern:String;
                
-               public var isCased:Boolean=false;
                public var casing_width:Number;
                public var casing_width:Number;
-               public var casing_colour:Number;
+               public var casing_color:Number;
                public var casing_opacity:Number;
                public var casing_opacity:Number;
-               public var casing_dashArray:Array=[];
+               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'
+                       ];
+               }
        }
 
 }
        }
 
 }