Titanium.UI.2DMatrix.scale

Function of Titanium.UI.2DMatrix.
Platform Since
Android 0.9
iPhone 0.9
iPad 0.9

Summary

Returns a matrix constructed by applying a scale transform to this matrix.

Arguments

Name Type Summary
sx Number

Horizontal scaling factor.

sy Number

Vertical scaling factor. If not supplied, scale by sx in both directions. Optional. Default: Same as horizontal scaling factor.

Return Type