CGContextClearRect 擦除时不是擦除指定的区域,而是擦除全部???

【CGContextClearRect 擦除时不是擦除指定的区域,而是擦除全部???】

CGContextClearRect 擦除时不是擦除指定的区域,而是擦除全部???

文章插图
CGContextClearRect擦除时,不是擦除指定区域,而是全部???CGContextClearRect擦除时,不是擦除指定区域 , 而是全部???简介:代码:UIGraphicsBeginImageContext(_ canvas view . bounds . size);CGContextRef context = UIGraphicsGe