clip
TypeScriptclip(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc clip(to rect: CGRect)class · iOS 10.0+ · SDK 27.1
class UIGraphicsRendererContextclip(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc clip(to rect: CGRect)fill(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc fill(_ rect: CGRect)fillBlendMode(rect: { x: number; y: number; width: number; height: number }, blendMode: _CoreGraphics_CGBlendMode): voidSwift declarationfunc fill(_ rect: CGRect, blendMode: CGBlendMode)static init(): UIGraphicsRendererContextSwift declarationinit()stroke(rect: { x: number; y: number; width: number; height: number }): voidSwift declarationfunc stroke(_ rect: CGRect)strokeBlendMode(rect: { x: number; y: number; width: number; height: number }, blendMode: _CoreGraphics_CGBlendMode): voidSwift declarationfunc stroke(_ rect: CGRect, blendMode: CGBlendMode)get cgContext(): _CoreGraphics_CGContextSwift declarationvar cgContext: CGContext { get }get format(): UIGraphicsRendererFormatSwift declarationvar format: UIGraphicsRendererFormat { get }No declarations were skipped in this snapshot.