Home Reference Source Repository

js/QuartzCore/CATransform3D.js

  1. 'use strict'
  2.  
  3. /**
  4. * Defines the standard transform matrix used throughout Core Animation.
  5. * @access public
  6. * @see https://developer.apple.com/documentation/quartzcore/catransform3d
  7. */
  8. export default class CATransform3D {
  9.  
  10. // Initializers
  11.  
  12. /**
  13. *
  14. * @access public
  15. * @constructor
  16. * @param {number[][]} m -
  17. * @see https://developer.apple.com/documentation/quartzcore/catransform3d/1523734-init
  18. */
  19. constructor(m) {
  20.  
  21. // Instance Properties
  22.  
  23. this._m11 = 1
  24. this._m12 = 0
  25. this._m13 = 0
  26. this._m14 = 0
  27. this._m21 = 0
  28. this._m22 = 1
  29. this._m23 = 0
  30. this._m24 = 0
  31. this._m31 = 0
  32. this._m32 = 0
  33. this._m33 = 1
  34. this._m34 = 0
  35. this._m41 = 0
  36. this._m42 = 0
  37. this._m43 = 0
  38. this._m44 = 1
  39. }
  40.  
  41. // Instance Properties
  42. }