Properties Methods Events Direct Link

Class CQ.Ext.util.TextMetrics

Package:CQ.Ext.util
Class:TextMetrics
Extends:Object
Clientlib:cq.widgets
Provides precise pixel measurements for blocks of text so that you can determine exactly how high and wide, in pixels, a given block of text will be. Note that when measuring text, it should be plain text and should not contain any HTML, otherwise it may not be measured correctly.

This class is a singleton and cannot be created directly.

Public Properties

This class has no public properties.

Public Methods

Method Defined By

Public Events

This class has no public events.