UIGraphics.EndImageContext 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
弹出当前图像上下文。
public static void EndImageContext ();
static member EndImageContext : unit -> unit
注解
UIKit 保留图像上下文堆栈,此方法弹出当前图像上下文,并使堆栈顶部的新上下文成为新的默认上下文。
如果当前上下文不是使用 创建的, BeginImageContextWithOptions(CGSize, Boolean, nfloat) 则 BeginImageContext(CGSize) 此方法不执行任何操作。