Package: | Roo.util |
Defined In: | Roo/util/TextMetrics.js. |
Class: | TextMetrics |
Method | Defined By | |
---|---|---|
Roo.util.TextMetrics.createInstance
(String/HTMLElement el, Number fixedWidth)
:
Roo.util.TextMetrics.Instance
Return a unique TextMetrics instance that can be bound directly to an element and reused.
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.
|
Roo.util.TextMetrics | |
Measures the size of the specified text
Measures the size of the specified text
|
Roo.util.TextMetrics |