Titanium.UI.Switch.toImage

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

Summary

Returns an image of the rendered view, as a Blob.

Arguments

Name Type Summary
f Callback<Object>

Function to be invoked upon completion. If non-null, this method will be performed asynchronously. If null, it will be performed immediately. Optional.

Return Type