[TIMOB-23437] iOS (Parity): Add rotation, rotationX, rotationY, scaleX, scaleY to view
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | community, ios, parity, rotate, scale, transform |
Reporter | Michael Gangolf |
Assignee | Unknown |
Created | 2016-05-25T09:22:44.000+0000 |
Updated | 2018-02-28T19:55:07.000+0000 |
Thanks for creating the ticket. Please create a PR. Our engineers will look into it.
Can't we get the most of that using the
[transform](http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.View-property-transform)
property?on iOS you can use a 3dmatrix, which supports all of this. But on Android you only have a 2Dmatrix and its very slow when you apply it, not sure about the iOS speed. It is a straight forward way to set the properties (just use view.rotationY = value; ) and you don't have to create a matrix first. Perhaps you can map view.rotationX to a 3Dmatrx?
Yes, that would be the cleanest way. Basically we would have a 3DMatrix reference in our TiViewProxy that would be changed and applied with this properties. But as people on iOS can already use the matrix directly, the prio will remain "Medium" for now.