width can be defined based on maximum width so far
[potlatch2.git] / net / systemeD / halcyon / styleparser / StyleList.as
index 5ee42bca4a39b420a62389b780a9fe2a529c3f28..f00715f64855621d6e7eba6613abc4f9309ac4c0 100755 (executable)
@@ -15,6 +15,10 @@ package net.systemeD.halcyon.styleparser {
                public var textStyles:Array=[];
                public var pointStyles:Array=[];
                public var shieldStyles:Array=[];
+               public var maxwidth:Number=0;
 
+               public function hasStyles():Boolean {
+                       return ( (shapeStyles.length + textStyles.length + pointStyles.length + shieldStyles.length) > 0 );
+               }
        }
 }
\ No newline at end of file