Package | feathers.core |
Interface | public interface ITextRenderer extends IFeathersControl |
Implementors | BitmapFontTextRenderer |
See also
Property | Defined By | ||
---|---|---|---|
baseline : Number [read-only]
The baseline measurement of the text. | ITextRenderer | ||
![]() | isEnabled : Boolean
Indicates whether the control is interactive or not. | IFeathersControl | |
![]() | isInitialized : Boolean [read-only]
Determines if the component has been initialized yet. | IFeathersControl | |
![]() | maxHeight : Number
The maximum recommended height to be used for self-measurement and,
optionally, by any code that is resizing this component. | IFeathersControl | |
![]() | maxWidth : Number
The maximum recommended width to be used for self-measurement and,
optionally, by any code that is resizing this component. | IFeathersControl | |
![]() | minHeight : Number
The minimum recommended height to be used for self-measurement and,
optionally, by any code that is resizing this component. | IFeathersControl | |
![]() | minWidth : Number
The minimum recommended width to be used for self-measurement and,
optionally, by any code that is resizing this component. | IFeathersControl | |
![]() | nameList : TokenList [read-only]
Contains a list of all "names" assigned to this control. | IFeathersControl | |
text : String
The text to render. | ITextRenderer |
Method | Defined By | ||
---|---|---|---|
measureText(result:Point = null):Point
Measures the text's bounds (without a full validation, if
possible). | ITextRenderer | ||
![]() | setSize(width:Number, height:Number):void
Sets both the width and the height of the control. | IFeathersControl | |
![]() | validate():void
Immediately validates the control, which triggers a redraw, if one
is pending. | IFeathersControl |
baseline | property |
baseline:Number
[read-only] The baseline measurement of the text.
public function get baseline():Number
text | property |
text:String
The text to render.
public function get text():String
public function set text(value:String):void
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 )
|
Point |