When the parent document becomes composited, the layer trees should get connected together.
-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (children 2
- (GraphicsLayer
- (position 8.00 108.00)
- (bounds 370.00 220.00)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (position 35.00 35.00)
- (children 2
- (GraphicsLayer
- (bounds 285.00 150.00)
- (children 1
- (GraphicsLayer
- (children 1
- (GraphicsLayer
- (bounds 285.00 230.00)
- (children 1
- (GraphicsLayer
- (bounds 285.00 230.00)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (position 18.00 10.00)
- (bounds 210.00 210.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #0000FF)
- )
- )
- )
- )
- )
- )
- )
- )
- )
- (GraphicsLayer
- (position 285.00 0.00)
- (bounds 15.00 150.00)
- )
- )
- )
- )
- )
- (GraphicsLayer
- (position 8.00 8.00)
- (bounds 100.00 100.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #0000FF)
- )
- )
- )
- )
-)
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [8, 108],
+ "bounds": [370, 220],
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [35, 35],
+ "children": [
+ {
+ "bounds": [285, 150],
+ "children": [
+ {
+ "children": [
+ {
+ "bounds": [285, 230],
+ "children": [
+ {
+ "bounds": [285, 230],
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [18, 10],
+ "bounds": [210, 210],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#0000FF"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "position": [285, 0],
+ "bounds": [15, 150]
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "position": [8, 8],
+ "bounds": [100, 100],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#0000FF"
+ }
+ ]
+ }
+ ]
+}
--------
Frame: '<!--framePath //<!--frame0-->-->'
--------
-(GraphicsLayer
- (bounds 285.00 230.00)
- (children 1
- (GraphicsLayer
- (bounds 285.00 230.00)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (position 18.00 10.00)
- (bounds 210.00 210.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #0000FF)
- )
- )
- )
- )
-)
+{
+ "bounds": [285, 230],
+ "children": [
+ {
+ "bounds": [285, 230],
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [18, 10],
+ "bounds": [210, 210],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#0000FF"
+ }
+ ]
+ }
+ ]
+}