Updated ShapeTriangle to use anchor points instead of width/height