• Home
  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Welcome Guest! Login or Register
Version: 4.0b3 Headerimage

Get your own copy

Don't hesitate! Just download and test it all by yourself for free!

  • You are here:
  • TinyMCE API 3.x
  • tinymce
  • tinymce.dom
  • tinymce.dom.DOMUtils
  • getRect
  • History
  • New wiki page

getRect

  • Print
public function getRect(e:Element/String):object
Returns the rectangle for a specific element.

Params

Name Type Description
e Element/String Element object or element ID to get rectange from.

Returns

object Rectange for specified element object with x, y, w, h fields.
  • TinyMCE
  • TinyMCE API 4.x
  • TinyMCE 3.x
  • TinyMCE API 3.x
    • tinymce
      • tinymce.dom
        • tinymce.dom.DOMUtils
          • DOMUtils
          • add
          • addClass
          • bind
          • create
          • createHTML
          • createRng
          • decode
          • destroy
          • encode
          • findCommonAncestor
          • fire
          • get
          • getAttrib
          • getAttribs
          • getClasses
          • getNext
          • getOuterHTML
          • getParent
          • getParents
          • getPos
          • getPrev
          • getRect
          • getRoot
          • getSize
          • getStyle
          • getViewPort
          • hasClass
          • hide
          • insertAfter
          • is
          • isBlock
          • isEmpty
          • isHidden
          • loadCSS
          • parseStyle
          • remove
          • removeClass
          • rename
          • replace
          • run
          • select
          • serializeStyle
          • setAttrib
          • setAttribs
          • setHTML
          • setOuterHTML
          • setStyle
          • setStyles
          • show
          • split
          • toHex
          • unbind
          • uniqueId
        • tinymce.dom.Element
        • tinymce.dom.EventUtils
        • tinymce.dom.ScriptLoader
        • tinymce.dom.Selection
        • tinymce.dom.Serializer
        • Event
      • tinymce.html
      • tinymce.plugins
      • tinymce.ui
      • tinymce.util
      • tinymce.AddOnManager
      • tinymce.ControlManager
      • tinymce.Editor
      • tinymce.EditorCommands
      • tinymce.Formatter
      • tinymce.Plugin
      • tinymce.Theme
      • tinymce.UndoManager
      • tinymce.WindowManager
      • DOM
      • EditorManager
    • tinymce
    • tinyMCEPopup
    • tinyMCE
  • MCImageManager
  • MCFileManager

Search

Search documentation.

Search

Need support?

If you need support, premium support is provided by our partners.

ask question
Back to site top

Provided for developers anywhere, everywhere, anytime and with any content.

  • Try it
  • Download
  • Documentation
  • Enterprise
  • Develop
  • Forum
Moxiecode

© 2003-2013 Moxiecode Systems AB.
All rights Reserved.
By being on this site, you allow cookies to be used.

Powered by Cachefly