| Package | com.yworks.canvas.input |
| Interface | public interface ITextEditor extends mx.core.IUIComponent |
TextEditorInputMode.
See also
| Property | Defined By | ||
|---|---|---|---|
| htmlText : String
A String containing HTML markup that is rendered by this editor
| ITextEditor | ||
| numLines : int [read-only]
The number of lines of the text that is rendered by this editor
| ITextEditor | ||
| text : String
The String that is rendered by this editor
| ITextEditor | ||
| textHeight : Number [read-only]
The height of the text that is rendered by this editor
| ITextEditor | ||
| textWidth : Number [read-only]
The width of the text that is rendered by this editor
| ITextEditor | ||
| Method | Defined By | ||
|---|---|---|---|
clear():void
Clears the text of this instance. | ITextEditor | ||
getLineMetrics(lineIndex:int):TextLineMetrics
Returns the line metrics of a line in the text that is rendered by this editor. | ITextEditor | ||
| htmlText | property |
htmlText:StringA String containing HTML markup that is rendered by this editor
public function get htmlText():String public function set htmlText(value:String):void| numLines | property |
numLines:int [read-only] The number of lines of the text that is rendered by this editor
public function get numLines():int| text | property |
text:StringThe String that is rendered by this editor
public function get text():String public function set text(value:String):void| textHeight | property |
textHeight:Number [read-only] The height of the text that is rendered by this editor
public function get textHeight():Number| textWidth | property |
textWidth:Number [read-only] The width of the text that is rendered by this editor
public function get textWidth():Number| clear | () | method |
public function clear():voidClears the text of this instance.
| getLineMetrics | () | method |
public function getLineMetrics(lineIndex:int):TextLineMetricsReturns the line metrics of a line in the text that is rendered by this editor.
Parameters
lineIndex:int — The index of the queried line.
|
TextLineMetrics — The TextLineMetrics of the queried line.
|
See also