add close path when drawing each bounding box for corners layer fix loop index and simplify logic add guard to cast corners to CGPoint arrays
add close path when drawing each bounding box for corners layer
fix loop index and simplify logic
add guard to cast corners to CGPoint arrays

yeahdongcn/RSBarcodes_Swift,yeahdongcn/RSBarcodes_Swift,yeahdongcn/RSBarcodes_Swift,yeahdongcn/RSBarcodes_Swift