Fixed textureLine and added repeat parameter.