| OLD | NEW |
| (Empty) |
| 1 This content is in the parent | |
| 2 Box should switch between perspective and flat | |
| 3 | |
| 4 First dump layer tree: | |
| 5 { | |
| 6 "bounds": [800, 600], | |
| 7 "children": [ | |
| 8 { | |
| 9 "bounds": [800, 600], | |
| 10 "contentsOpaque": true, | |
| 11 "drawsContent": true | |
| 12 } | |
| 13 ] | |
| 14 } | |
| 15 | |
| 16 Second dump layer tree: | |
| 17 { | |
| 18 "bounds": [800, 600], | |
| 19 "children": [ | |
| 20 { | |
| 21 "bounds": [800, 600], | |
| 22 "contentsOpaque": true, | |
| 23 "drawsContent": true, | |
| 24 "children": [ | |
| 25 { | |
| 26 "position": [8, 8], | |
| 27 "bounds": [342, 292], | |
| 28 "drawsContent": true, | |
| 29 "children": [ | |
| 30 { | |
| 31 "position": [31, 41], | |
| 32 "bounds": [250, 220], | |
| 33 "contentsOpaque": true, | |
| 34 "drawsContent": true, | |
| 35 "backgroundColor": "#0000FF", | |
| 36 "children": [ | |
| 37 { | |
| 38 "position": [10, 10], | |
| 39 "bounds": [200, 200], | |
| 40 "contentsOpaque": true, | |
| 41 "drawsContent": true, | |
| 42 "backgroundColor": "#FFFF00", | |
| 43 "transform": [ | |
| 44 [0.866025403784439, 0.5, 0, 0], | |
| 45 [-0.5, 0.866025403784439, 0, 0], | |
| 46 [0, 0, 1, 0], | |
| 47 [0, 0, 0, 1] | |
| 48 ], | |
| 49 "children": [ | |
| 50 { | |
| 51 "position": [100, 0], | |
| 52 "bounds": [250, 100], | |
| 53 "contentsOpaque": true, | |
| 54 "drawsContent": true, | |
| 55 "backgroundColor": "#008000", | |
| 56 "transform": [ | |
| 57 [0.5, 0, -0.866025403784439, 0.0021650635094611], | |
| 58 [0, 1, 0, 0], | |
| 59 [0.866025403784439, 0, 0.5, -0.00125], | |
| 60 [-30, 30, 100, 0.75] | |
| 61 ] | |
| 62 } | |
| 63 ] | |
| 64 } | |
| 65 ] | |
| 66 } | |
| 67 ] | |
| 68 } | |
| 69 ] | |
| 70 } | |
| 71 ] | |
| 72 } | |
| 73 | |
| 74 Third dump layer tree: | |
| 75 { | |
| 76 "bounds": [785, 1446], | |
| 77 "children": [ | |
| 78 { | |
| 79 "bounds": [785, 1446], | |
| 80 "contentsOpaque": true, | |
| 81 "drawsContent": true | |
| 82 } | |
| 83 ] | |
| 84 } | |
| 85 | |
| OLD | NEW |