Skip to content

Titanium.UI.DimensionWithAbsolutes

An extension of <Dimension> where Android returns additional absolute X/Y values/properties for Titanium.UI.View.rect

Extends: Dimension

Properties #

absoluteX#

Type: Number

The x-axis coordinate of the position relative to the main window.

absoluteY#

Type: Number

The y-axis coordinate of the position relative to the main window.

height#

extended

Type: Number

The height measurement.

width#

extended

Type: Number

The width measurement.

x#

extended

Type: Number

The x-axis coordinate of the position. When returned by Titanium.UI.View.rect the position is relative to it's parent.

y#

extended

Type: Number

The y-axis coordinate of the position. When returned by Titanium.UI.View.rect the position is relative to it's parent.

Titanium SDK Documentation