-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (position 50.00 50.00)
- (transformOrigin 100.00 100.00)
- (bounds 150.00 150.00)
- (drawsContent 1)
- (backgroundColor #FF0000)
- (children 1
- (GraphicsLayer
- (position 50.00 50.00)
- (bounds 100.00 100.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #008000)
- )
- )
- )
- )
- )
- )
-)
-(GraphicsLayer
- (bounds 800.00 600.00)
- (children 1
- (GraphicsLayer
- (bounds 800.00 600.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (children 1
- (GraphicsLayer
- (position 50.00 50.00)
- (transformOrigin 100.00 100.00)
- (bounds 150.00 150.00)
- (drawsContent 1)
- (backgroundColor #FF0000)
- (children 1
- (GraphicsLayer
- (position 50.00 50.00)
- (bounds 100.00 100.00)
- (contentsOpaque 1)
- (drawsContent 1)
- (backgroundColor #008000)
- )
- )
- )
- )
- )
- )
-)
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [50, 50],
+ "transformOrigin": [100, 100],
+ "bounds": [150, 150],
+ "drawsContent": true,
+ "backgroundColor": "#FF0000",
+ "children": [
+ {
+ "position": [50, 50],
+ "bounds": [100, 100],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#008000"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}
+{
+ "bounds": [800, 600],
+ "children": [
+ {
+ "bounds": [800, 600],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "children": [
+ {
+ "position": [50, 50],
+ "transformOrigin": [100, 100],
+ "bounds": [150, 150],
+ "drawsContent": true,
+ "backgroundColor": "#FF0000",
+ "children": [
+ {
+ "position": [50, 50],
+ "bounds": [100, 100],
+ "contentsOpaque": true,
+ "drawsContent": true,
+ "backgroundColor": "#008000"
+ }
+ ]
+ }
+ ]
+ }
+ ]
+}