+ },
+
+ // A control with a gradient
+ {
+ "type": "Control",
+ "relayoutEnabled": false,
+ "parentOrigin": "BOTTOM_RIGHT",
+ "anchorPoint": "BOTTOM_RIGHT",
+ "widthResizePolicy":"SIZE_RELATIVE_TO_PARENT",
+ "heightResizePolicy":"SIZE_RELATIVE_TO_PARENT",
+ "sizeModeFactor": [ 0.5, 0.333333333333, 1 ],
+ "background": {
+ "visualType" : "GRADIENT",
+ "startPosition" : [ -0.5, -0.5 ],
+ "endPosition": [ 0.5, 0.5 ],
+ "stopColor" : [
+ [ 1.0, 0.0, 0.0, 1.0 ],
+ [ 1.0, 0.25, 0.0, 1.0 ],
+ [ 1.0, 0.5, 0.0, 1.0 ],
+ [ 1.0, 0.75, 0.0, 1.0 ],
+ [ 1.0, 1.0, 0.0, 1.0 ]
+ ],
+ "stopOffset" : [ 0, 0.25, 0.5, 0.75, 1.0 ]
+ }