| Property | Defined by | ||
|---|---|---|---|
| drawn : Boolean [read-only]
| TextStyle | ||
![]() | edited : Boolean = false Is the style active (properties have been set)?
| Style | |
![]() | evals : Object Compiled SWFs for each eval.
| Style | |
| font_bold : Boolean | TextStyle | ||
| font_caps : Boolean | TextStyle | ||
| font_family : String | TextStyle | ||
| font_italic : Boolean | TextStyle | ||
| font_size : uint | TextStyle | ||
| font_underline : Boolean | TextStyle | ||
![]() | 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 | |
| letter_spacing : uint | TextStyle | ||
| max_width : Number | TextStyle | ||
![]() | 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 | |
| properties : Array [read-only]
| TextStyle | ||
![]() | sublayer : Number = 5 The sublayer is the z-index property _within_ an OSM layer.
| Style | |
| text : String | TextStyle | ||
| text_center : Boolean | TextStyle | ||
| text_color : uint | TextStyle | ||
| text_halo_color : uint | TextStyle | ||
| text_halo_radius : uint = 0 | TextStyle | ||
| text_offset : Number | TextStyle | ||
| Method | Defined by | ||
|---|---|---|---|
![]() |
deepCopy():*
Make an exact copy of an object.
| Style | |
|
getHaloFilter():Array
| TextStyle | ||
|
getTextFormat():TextFormat
| TextStyle | ||
![]() |
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 | |
|
writeNameLabel(d:DisplayObjectContainer, a:String, x:Number, y:Number):TextField
| TextStyle | ||
| drawn | property |
drawn:Boolean [read-only]Implementation
public function get drawn():Boolean
| font_bold | property |
public var font_bold:Boolean
| font_caps | property |
public var font_caps:Boolean
| font_family | property |
public var font_family:String
| font_italic | property |
public var font_italic:Boolean
| font_size | property |
public var font_size:uint
| font_underline | property |
public var font_underline:Boolean
| letter_spacing | property |
public var letter_spacing:uint
| max_width | property |
public var max_width:Number
| properties | property |
properties:Array [read-only]Implementation
public function get properties():Array
| text | property |
public var text:String
| text_center | property |
public var text_center:Boolean
| text_color | property |
public var text_color:uint
| text_halo_color | property |
public var text_halo_color:uint
| text_halo_radius | property |
public var text_halo_radius:uint = 0
| text_offset | property |
public var text_offset:Number
| getHaloFilter | () | method |
public function getHaloFilter():Array
Returns
Array |
| getTextFormat | () | method |
public function getTextFormat():TextFormat
Returns
TextFormat |
| writeNameLabel | () | method |
public function writeNameLabel(d:DisplayObjectContainer, a:String, x:Number, y:Number):TextFieldParameters
d:DisplayObjectContainer |
|
a:String |
|
x:Number |
|
y:Number |
TextField |