Titanium.UI.TabbedBar.convertPointToView

Function of Titanium.UI.TabbedBar. Inherited from Titanium.UI.View.
Platform Since
iPhone 0.8
iPad 0.8

Summary

Translates a point from this view's coordinate system to another view's coordinate system.

Description

If both views are connected in the native view hierarchies, returns the point, converted to destinationView's coordinate system.

Returns null if either view is not in the view hierarchy. Keep in mind that views may be removed from the view hierarchy if their window is blurred or if the view is offscreen (such as in some situations with Titanium.UI.ScrollableView).

If this view is a Titanium.UI.ScrollView, the view's x and y offsets are subtracted from the return value.

Arguments

Name Type Summary
point Point

A point in this view's coordinate system.
If this argument is missing an x or y property, or the properties can not be converted into numbers, an exception will be raised.

destinationView Titanium.UI.View

View that specifies the destination coordinate system to convert to. If this argument is not a view, an exception will be raised.

Return Type