context
TypeScriptstatic context(format: UIGraphicsRendererFormat): (_CoreGraphics_CGContext) | nullSwift declarationclass func context(with format: UIGraphicsRendererFormat) -> CGContext?class · iOS 10.0+ · SDK 27.1
class UIGraphicsRendererstatic context(format: UIGraphicsRendererFormat): (_CoreGraphics_CGContext) | nullSwift declarationclass func context(with format: UIGraphicsRendererFormat) -> CGContext?static prepare(context: _CoreGraphics_CGContext, rendererContext: UIGraphicsRendererContext): voidSwift declarationclass func prepare(_ context: CGContext, with rendererContext: UIGraphicsRendererContext)static rendererContextClass(): stringSwift declarationclass func rendererContextClass() -> AnyClassstatic initBounds(bounds: { x: number; y: number; width: number; height: number }): UIGraphicsRendererSwift declarationconvenience init(bounds: CGRect)static initBoundsFormat(bounds: { x: number; y: number; width: number; height: number }, format: UIGraphicsRendererFormat): UIGraphicsRendererSwift declarationinit(bounds: CGRect, format: UIGraphicsRendererFormat)runDrawingActions(drawingActions: ((arg0: UIGraphicsRendererContext) => void), completionActions?: (((arg0: UIGraphicsRendererContext) => void)) | null): voidSwift declarationfunc runDrawingActions(_ drawingActions: (UIGraphicsRendererContext) -> Void, completionActions: ((UIGraphicsRendererContext) -> Void)? = nil) throwsget allowsImageOutput(): booleanSwift declarationvar allowsImageOutput: Bool { get }get format(): UIGraphicsRendererFormatSwift declarationvar format: UIGraphicsRendererFormat { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UIGraphicsRenderer.init()
inherited init: cannot prove legal (class declares 2 custom initializers)