| Property | Defined 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 | ||
![]() | edited : Boolean = false Is the style active (properties have been set)?
| Style | |
![]() | evals : Object Compiled SWFs for each eval.
| Style | |
| fill_color : Number | ShapeStyle | ||
| fill_image : String | ShapeStyle | ||
| fill_opacity : Number | ShapeStyle | ||
![]() | interactive : 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 | ||
![]() | merged : 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 | ||
![]() | sublayer : Number = 5 The sublayer is the z-index property _within_ an OSM layer.
| Style | |
| width : Number = 0 | ShapeStyle | ||
| Method | Defined by | ||
|---|---|---|---|
|
applyCasingStyle(g:Graphics):void
| ShapeStyle | ||
|
applyFill(g:Graphics):void
| ShapeStyle | ||
|
applyStrokeStyle(g:Graphics):void
| ShapeStyle | ||
![]() |
deepCopy():*
Make an exact copy of an object.
| Style | |
![]() |
hasEvals():Boolean
Are there any eval functions defined?
| Style | |
![]() |
Merge two Style objects.
| Style | |
![]() |
runEvals(tags:Object):void
Run all evals for this Style over the supplied tags.
| Style | |
![]() |
setPropertyFromString(k:String, v:*):Boolean
Set a property, casting as correct type.
| Style | |
![]() |
toString():String
Summarise Style as String - for debugging.
| Style | |
| casing_color | property |
public var casing_color:Number
| casing_dashes | property |
public var casing_dashes:Array
| casing_opacity | property |
public var casing_opacity:Number
| casing_width | property |
public var casing_width:Number
| color | property |
public var color:Number
| dashes | property |
public var dashes:Array
| drawn | property |
drawn:Boolean [read-only]Implementation
public function get drawn():Boolean
| fill_color | property |
public var fill_color:Number
| fill_image | property |
public var fill_image:String
| fill_opacity | property |
public var fill_opacity:Number
| layer | property |
public var layer:Number
| linecap | property |
public var linecap:String
| linejoin | property |
public var linejoin:String
| line_style | property |
public var line_style:String
| opacity | property |
public var opacity:Number
| properties | property |
properties:Array [read-only]Implementation
public function get properties():Array
| width | property |
public var width:Number = 0
| 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 |