Project: titanium
Issue TIMOB-18749: Windows: Implement Ti.UI.2DMatrix proxy
http://docs.appcelerator.com/titanium/3.0/#!/api/Titanium.UI.2DMatrix Note that Ti.UI.create2DMatrix() takes a special object defined as: http://docs.appcelerator.com/titanium/3.0/#!/api/MatrixCreationDict We should represent that with a struct, much as we do other defined-object abstract types such as Point or Dimension. This class is used in conjunction with Ti.UI.Animation, which eventually is consumed in the Ti.UI.View.animate() method. It seems to map 1:1 to https://msdn.microsoft.com/en-us/library/ie/windows.ui.xaml.media.matrixtransform h2. Properties - a : Number - b : Number - c : Number - d : Number - tx : Number - Amount to move horizontally? - ty : Number - Amount to move vertically? h2. Methods - invert( ) : Titanium.UI.2DMatrix - multiply( Titanium.UI.2DMatrix m2 ) : Titanium.UI.2DMatrix - rotate( Number angle, \[toAngle] ) : Titanium.UI.2DMatrix - scale( Number sx, Number sy, \[toSx], \[toSy] ) : Titanium.UI.2DMatrix - translate( Number tx, Number ty ) : Titanium.UI.2DMatrix
Story points: 13