Transform2d for RectangleColorContext