CoreGraphics · IOS API REFERENCE
CGLayer
class · SDK 27.1
class CGLayer
Members (4)
init · iOS 2.0+init
TypeScriptstatic init(context: CGContext, size: { width: number; height: number }, auxiliaryInfo?: (_CoreFoundation_CFDictionary) | null): (CGLayer) | null
Swift declarationinit?(_ context: CGContext, size: CGSize, auxiliaryInfo: CFDictionary?)
get · iOS 2.0+context
TypeScriptget context(): (CGContext) | null
Swift declarationvar context: CGContext? { get }
get · iOS 2.0+size
TypeScriptget size(): { width: number; height: number }
Swift declarationvar size: CGSize { get }
get · iOS 2.0+typeID
TypeScriptstatic get typeID(): number
Swift declarationclass var typeID: CFTypeID { get }
Skipped declarations
No declarations were skipped in this snapshot.
All CoreGraphics types →