2 "name" : "Roo.util.TextMetrics.Instance",
7 "desc" : "Instance of TextMetrics Calcuation",
12 "isBuilderTop" : false,
13 "memberOf" : "Instance",
26 "name" : "fixedWidth",
40 "desc" : "Returns the measured height of the specified text. For multiline text, be sure to call\n{@link #setFixedWidth} if necessary.",
45 "isConstructor" : false,
57 "desc" : "The text to measure",
65 "desc" : "height The height in pixels"
72 "desc" : "Binds this TextMetrics instance to an element from which to copy existing CSS styles\nthat can affect the size of the rendered text",
77 "isConstructor" : false,
88 "type" : "String/HTMLElement",
89 "desc" : "The element, dom node or id",
98 "desc" : "Returns the measured width of the specified text",
103 "isConstructor" : false,
115 "desc" : "The text to measure",
123 "desc" : "width The width in pixels"
128 "name" : "setFixedWidth",
130 "desc" : "Sets a fixed width on the internal measurement element. If the text will be multiline, you have\nto set a fixed width in order to accurately measure the text height.",
135 "isConstructor" : false,
147 "desc" : "The width to set on the element",
156 "desc" : "Returns the size of the specified text based on the internal element's style and width properties",
161 "isConstructor" : false,
173 "desc" : "The text to measure",
181 "desc" : "An object containing the text's size {width: (width), height: (height)}"