fill(Fill.create().color("blue").opacity(0.5))
);
diamond1.moveTo(60, 60);
diamond1.lineTo(80, 40);
diamond1.lineTo(100, 60);
diamond1.lineTo(80, 80);
diamond1.lineTo(60, 60);
diamond1.end();
//register a clicl listener
Y.one(diamond1.node()).on("click", new EventCallback() {