Packagefeathers.core
Interfacepublic interface ITextRenderer extends IFeathersControl
Implementors BitmapFontTextRenderer

Interface that handles common capabilities of rendering text.

See also

http://wiki.starling-framework.org/feathers/text-renderers


Public Properties
 PropertyDefined By
  baseline : Number
[read-only] The baseline measurement of the text.
ITextRenderer
 InheritedisEnabled : Boolean
Indicates whether the control is interactive or not.
IFeathersControl
 InheritedisInitialized : Boolean
[read-only] Determines if the component has been initialized yet.
IFeathersControl
 InheritedmaxHeight : Number
The maximum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedmaxWidth : Number
The maximum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedminHeight : Number
The minimum recommended height to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritedminWidth : Number
The minimum recommended width to be used for self-measurement and, optionally, by any code that is resizing this component.
IFeathersControl
 InheritednameList : TokenList
[read-only] Contains a list of all "names" assigned to this control.
IFeathersControl
  text : String
The text to render.
ITextRenderer
Public Methods
 MethodDefined By
  
measureText(result:Point = null):Point
Measures the text's bounds (without a full validation, if possible).
ITextRenderer
 Inherited
setSize(width:Number, height:Number):void
Sets both the width and the height of the control.
IFeathersControl
 Inherited
validate():void
Immediately validates the control, which triggers a redraw, if one is pending.
IFeathersControl
Property Detail
baselineproperty
baseline:Number  [read-only]

The baseline measurement of the text.


Implementation
    public function get baseline():Number
textproperty 
text:String

The text to render.


Implementation
    public function get text():String
    public function set text(value:String):void
Method Detail
measureText()method
public function measureText(result:Point = null):Point

Measures the text's bounds (without a full validation, if possible).

Parameters

result:Point (default = null)

Returns
Point