Transform API Demo — The Transform API provides a consistent, chainable interface for modifying shape properties. Use shape.transform.x(100).y(200).rotation(45).scale(0.8) for fluent chaining, shape.transform.set({ x: 100, rotation: 45 }) for batch updates, or shape.transform.translateBy(10, 20) for relative transforms. Click to randomize colors.