// Renderer file for the BoundsRen example Pass({ content: [ Boolean({ selector: '@selected', content: { 'false': Text({ text: '@tech', alignment: Alignment.WEST, fill: Color(220,220,220), font: Font('Serif', FontStyle.BOLD, 16), }), 'true': [ Bounds({ id: 'dropShadow', referenceId: 'item', padding: 4, arcWidth: 6, arcHeight: 6, offset: Point(5, 5), fill: Color(80,80,80), }), Bounds({ id: 'redOutline', referenceId: 'item', padding: 4, arcWidth: 6, arcHeight: 6, fill: Color(160,160,160), outline: java.awt.Color.red, strokeWidth: 2, }), List({ id: 'item', content: [ Text({ text: '@tech', alignment: Alignment.WEST, fill: java.awt.Color.white, font: Font('Serif', FontStyle.BOLD, 20), }), Shape({ id: 'bullet', offset: Point(-12, -2), shape: Polygon([ 0,-5, 10,0, 0,5 ], FillRule.NON_ZERO), fill: java.awt.Color.white, }), ] // List.content }), // List ] // Boolean.true } // Boolean.content }) // Boolean ] // Pass.content }) // Pass