-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (repaint rects
- (rect 8.00 13.00 784.00 16.00)
- (rect 8.00 413.00 784.00 29.00)
- (rect 0.00 421.00 800.00 29.00)
- )
- (children 1
- (GraphicsLayer
- (position 8.00 42.00)
- (bounds 400.00 400.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #008000)
- (repaint rects
- (rect 0.00 0.00 400.00 400.00)
- (rect 0.00 0.00 400.00 400.00)
- )
- (children 1
- (GraphicsLayer
- (position 50.00 50.00)
- (bounds 75.00 75.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #0000FF)
- (repaint rects
- (rect 0.00 0.00 75.00 75.00)
- (rect 0.00 0.00 75.00 75.00)
- )
- )
- )
- )
- )
- )
- )
-)
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [8, 8],
+ "bounds": [400, 400],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#008000",
+ "repaintRects": [
+ [0, 0, 400, 400],
+ [0, 0, 400, 400]
+ ],
+ "children": [
+ {
+ "position": [50, 50],
+ "bounds": [75, 75],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#0000FF",
+ "repaintRects": [
+ [0, 0, 75, 75],
+ [0, 0, 75, 75]
+ ]
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}