[getPathData() method Returns geometry path of GeometryShape as an array of path segments. Returns PathSegment]