toCornersAsArraytsfunction toCornersAsArray(box): [Point, Point, Point, Point] Parameters ParameterTypeboxBox Returns [Point, Point, Point, Point] An array containing the 4 points of the box in this exact order: [top left, top right, bottom right, bottom left].