{
"name" : "Roo.util.TextMetrics",
"augments" : [],
+ "childClasses" : { },
+ "tree_children" : [],
+ "tree_parent" : [],
"desc" : "Provides precise pixel measurements for blocks of text so that you can determine exactly how high and\nwide, in pixels, a given block of text will be.",
"isSingleton" : true,
"isStatic" : false,
"isBuiltin" : false,
+ "isAbstract" : false,
+ "isBuilderTop" : false,
"memberOf" : "TextMetrics",
"example" : "",
"deprecated" : "",
"see" : "",
"params" : [],
"returns" : [],
+ "throws" : "",
+ "requires" : "",
"config" : [],
"methods" : [
{
"name" : "createInstance",
+ "type" : "function",
"desc" : "Return a unique TextMetrics instance that can be bound directly to an element and reused. This reduces\nthe overhead of multiple calls to initialize the style properties on each measurement.",
+ "sig" : "(el, fixedWidth)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.util.TextMetrics",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",
},
{
"name" : "measure",
+ "type" : "function",
"desc" : "Measures the size of the specified text",
+ "sig" : "(el, text, fixedWidth)",
+ "static" : false,
+ "memberOf" : "",
"isStatic" : false,
"isConstructor" : false,
"isPrivate" : false,
- "memberOf" : "Roo.util.TextMetrics",
"example" : "",
"deprecated" : "",
"since" : "",
"see" : "",
+ "exceptions" : "",
+ "requires" : "",
"params" : [
{
"name" : "el",