floodFillToMask and floodFill support np arrays and dicts, fixed rotate() doc