X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/6a7e4474cba9d8be4b2ec445e10f1691f7277c50..7a654f8d43fdb43d78b63d90528bed6e86b608cc:/docs/output/Ext.util.TextMetrics.html diff --git a/docs/output/Ext.util.TextMetrics.html b/docs/output/Ext.util.TextMetrics.html deleted file mode 100644 index e523144a..00000000 --- a/docs/output/Ext.util.TextMetrics.html +++ /dev/null @@ -1,35 +0,0 @@ -
Package: | Ext.util |
Defined In: | TextMetrics.js |
Class: | TextMetrics |
Extends: | Object |
Method | Defined By | |
---|---|---|
bind( String/HTMLElement el )
- :
- voidOnly available on the instance returned from createInstance, not on the singleton.
-Binds this TextMetrics instance to... Only available on the instance returned from createInstance, not on the singleton. -Binds this TextMetrics instance to an element from which to copy existing CSS styles -that can affect the size of the rendered textParameters:
| TextMetrics | |
createInstance( String/HTMLElement el , [Number fixedWidth ] )
- :
- Ext.util.TextMetrics.InstanceReturn a unique TextMetrics instance that can be bound directly to an element and reused. This reduces
-the overhead ... Return a unique TextMetrics instance that can be bound directly to an element and reused. This reduces
-the overhead of multiple calls to initialize the style properties on each measurement. Parameters:
| TextMetrics | |
getHeight( String text )
- :
- NumberOnly available on the instance returned from createInstance, not on the singleton.
-Returns the measured height of the... Only available on the instance returned from createInstance, not on the singleton. -Returns the measured height of the specified text. For multiline text, be sure to call -setFixedWidth if necessary.Parameters:
| TextMetrics | |
getSize( String text )
- :
- ObjectOnly available on the instance returned from createInstance, not on the singleton.
-Returns the size of the specified ... Only available on the instance returned from createInstance, not on the singleton. -Returns the size of the specified text based on the internal element's style and width propertiesParameters:
| TextMetrics | |
getWidth( String text )
- :
- NumberOnly available on the instance returned from createInstance, not on the singleton.
-Returns the measured width of the ... Only available on the instance returned from createInstance, not on the singleton. -Returns the measured width of the specified textParameters:
| TextMetrics | |
measure( String/HTMLElement el , String text , [Number fixedWidth ] )
- :
- ObjectMeasures the size of the specified text Measures the size of the specified text Parameters:
| TextMetrics | |
setFixedWidth( Number width )
- :
- voidOnly available on the instance returned from createInstance, not on the singleton.
-Sets a fixed width on the internal... Only available on the instance returned from createInstance, not on the singleton. -Sets a fixed width on the internal measurement element. If the text will be multiline, you have -to set a fixed width in order to accurately measure the text height.Parameters:
| TextMetrics |