Core.Web.Measure
| Descendant Class Summary |
|---|
Core.Web.Measure.Bounds |
| Class Field Summary | |
|---|---|
| Internal | _scrollElements |
| Internal | _hInchSize of one inch in horizontal pixels. |
| Internal | _vInchSize of one inch in vertical pixels. |
| Internal | _hExSize of one 'ex' in horizontal pixels. |
| Internal | _vExSize of one 'ex' in vertical pixels. |
| Internal | _hEmSize of one 'em' in horizontal pixels. |
| Internal | _vEmSize of one 'em' in vertical pixels. |
| Public | SCROLL_WIDTHEstimated scroll bar width. |
| Public | SCROLL_HEIGHTEstimated scroll bar height. |
| Internal | _PARSER |
| Class Method Summary | |
|---|---|
| Public | extentToPixels()Converts any non-relative extent value to pixels. |
| Internal | _calculateExtentSizes()Updates internal measures used in converting length units (e. |
| Internal | _getScrollOffset()Measures the scrollbar offset of an element, including any scroll-bar related offsets of its ancestors. |
| Internal | _getCumulativeOffset()Measures the cumulative offset of an element. |
value
(String)
- a unitized extent value, e.g., "2px", "5em", etc.horizontal
(Boolean)
- a flag indicating whether the extent is horizontal (true) or vertical (false)element
- the element to measureelement
- the element to measure