Keyboard Support

Contact and Search

Keyman.com Homepage

Header bottom

Keyman.com

Other versions
Version 18.0Version 17.0 (current version)Version 16.0Version 15.0Version 14.0Version 13.0Version 12.0Version 11.0Version 10.0Version 2.0

On this page

getRect

Summary

Get absolute position and size of OSK window.

Syntax

keyman.osk.getRect()

Parameters

None.

Return Value

Object
The position and size of the OSK's container element.

Description

The returned getRect object contains the following members:

left
number
The x-coordinate corresponding to the left side of the OSK.
top
number
The y-coordinate corresponding to the top of the OSK.
width
number
The width (in pixels) of the OSK.
height
number
The height (in pixels) of the OSK.