The Path2d class represents a contour composed of segments of lines and quadratic and cubic Beziér curves.