Maybe if I asked this differently. In code I have:
toolbar.on("draw-end", addGraphic);
The graphic object is passed to addGraphic.
To grab the top left point of a rectangle, I have this in code:
item.Geometry.Polygon.Rings[0][0][0] = x; // top-left x
item.Geometry.Polygon.Rings[0][0][1] = y; // top-left y
Since [0][0][0], [0][0][1] is the x, y of the first point drawn (where the user first clicks the map) to begin drawing the rectangle, x, y is not always the top left point of the rectangle.
Is there a way to draw, or re-draw, a shape clockwise from the top left most point on the map (that doesn't interfere with the API)?
Maybe the best way is to not go by array position but geo-math?