Alignment Object
$.shape.alignment
Examples
function update() {
$.shape.alignment.x="left";
$.shape.alignment.y="top";
$.colour.fill="blue";
$.shape.rectangle( $.w/2, $.h/2, 30, 30 );
$.shape.alignment.x="right";
$.shape.alignment.y="bottom";
$.colour.fill="red";
$.shape.rectangle( $.w/2, $.h/2, 30, 30 );
$.shape.alignment.x="center";
$.shape.alignment.y="center";
$.colour.fill="green";
$.shape.rectangle( $.w/2, $.h/2, 30, 30 );
}