Packagenet.systemeD.halcyon.styleparser
Classpublic class ShapeStyle
InheritanceShapeStyle Inheritance Style



Public Properties
 PropertyDefined by
  casing_color : Number
ShapeStyle
  casing_dashes : Array
ShapeStyle
  casing_opacity : Number
ShapeStyle
  casing_width : Number
ShapeStyle
  color : Number
ShapeStyle
  dashes : Array
ShapeStyle
  drawn : Boolean
[read-only]
ShapeStyle
 Inheritededited : Boolean = false
Is the style active (properties have been set)?
Style
 Inheritedevals : Object
Compiled SWFs for each eval.
Style
  fill_color : Number
ShapeStyle
  fill_image : String
ShapeStyle
  fill_opacity : Number
ShapeStyle
 Inheritedinteractive : Boolean = true
Does this style permit mouse interaction? (Some styling, such as P2's back-level yellow highlight for selected ways, should not respond to mouse events.)
Style
  layer : Number
ShapeStyle
  linecap : String
ShapeStyle
  linejoin : String
ShapeStyle
  line_style : String
ShapeStyle
 Inheritedmerged : Boolean = false
Has this style had another style merged into it? (When styles cascade, then we need to merge the first style with any subsequent styles that apply.)
Style
  opacity : Number
ShapeStyle
  properties : Array
[read-only]
ShapeStyle
 Inheritedsublayer : Number = 5
The sublayer is the z-index property _within_ an OSM layer.
Style
  width : Number = 0
ShapeStyle
Public Methods
 MethodDefined by
  
applyCasingStyle(g:Graphics):void
ShapeStyle
  
applyFill(g:Graphics):void
ShapeStyle
  
applyStrokeStyle(g:Graphics):void
ShapeStyle
 Inherited
Make an exact copy of an object.
Style
 Inherited
hasEvals():Boolean
Are there any eval functions defined?
Style
 Inherited
mergeWith(additional:Style):void
Merge two Style objects.
Style
 Inherited
runEvals(tags:Object):void
Run all evals for this Style over the supplied tags.
Style
 Inherited
setPropertyFromString(k:String, v:*):Boolean
Set a property, casting as correct type.
Style
 Inherited
toString():String
Summarise Style as String - for debugging.
Style
Property detail
casing_colorproperty
public var casing_color:Number
casing_dashesproperty 
public var casing_dashes:Array
casing_opacityproperty 
public var casing_opacity:Number
casing_widthproperty 
public var casing_width:Number
colorproperty 
public var color:Number
dashesproperty 
public var dashes:Array
drawnproperty 
drawn:Boolean  [read-only]Implementation
    public function get drawn():Boolean
fill_colorproperty 
public var fill_color:Number
fill_imageproperty 
public var fill_image:String
fill_opacityproperty 
public var fill_opacity:Number
layerproperty 
public var layer:Number
linecapproperty 
public var linecap:String
linejoinproperty 
public var linejoin:String
line_styleproperty 
public var line_style:String
opacityproperty 
public var opacity:Number
propertiesproperty 
properties:Array  [read-only]Implementation
    public function get properties():Array
widthproperty 
public var width:Number = 0
Method detail
applyCasingStyle()method
public function applyCasingStyle(g:Graphics):voidParameters
g:Graphics
applyFill()method 
public function applyFill(g:Graphics):voidParameters
g:Graphics
applyStrokeStyle()method 
public function applyStrokeStyle(g:Graphics):voidParameters
g:Graphics