Packagenet.systemeD.halcyon.styleparser
Classpublic class TextStyle
InheritanceTextStyle Inheritance Style



Public Properties
 PropertyDefined by
  drawn : Boolean
[read-only]
TextStyle
 Inheritededited : Boolean = false
Is the style active (properties have been set)?
Style
 Inheritedevals : 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
 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
  letter_spacing : uint
TextStyle
  max_width : Number
TextStyle
 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
  properties : Array
[read-only]
TextStyle
 Inheritedsublayer : 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
Public Methods
 MethodDefined by
 Inherited
Make an exact copy of an object.
Style
  
getHaloFilter():Array
TextStyle
  
getTextFormat():TextFormat
TextStyle
 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
  
writeNameLabel(d:DisplayObjectContainer, a:String, x:Number, y:Number):TextField
TextStyle
Property detail
drawnproperty
drawn:Boolean  [read-only]Implementation
    public function get drawn():Boolean
font_boldproperty 
public var font_bold:Boolean
font_capsproperty 
public var font_caps:Boolean
font_familyproperty 
public var font_family:String
font_italicproperty 
public var font_italic:Boolean
font_sizeproperty 
public var font_size:uint
font_underlineproperty 
public var font_underline:Boolean
letter_spacingproperty 
public var letter_spacing:uint
max_widthproperty 
public var max_width:Number
propertiesproperty 
properties:Array  [read-only]Implementation
    public function get properties():Array
textproperty 
public var text:String
text_centerproperty 
public var text_center:Boolean
text_colorproperty 
public var text_color:uint
text_halo_colorproperty 
public var text_halo_color:uint
text_halo_radiusproperty 
public var text_halo_radius:uint = 0
text_offsetproperty 
public var text_offset:Number
Method detail
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

Returns
TextField