One Logo Pool Ball
CoreGraphics · IOS API REFERENCE

CGLayer

class · SDK 27.1

class CGLayer

Members (4)

init · iOS 2.0+

init

TypeScript
static init(context: CGContext, size: { width: number; height: number }, auxiliaryInfo?: (_CoreFoundation_CFDictionary) | null): (CGLayer) | null
Swift declaration
init?(_ context: CGContext, size: CGSize, auxiliaryInfo: CFDictionary?)
get · iOS 2.0+

context

TypeScript
get context(): (CGContext) | null
Swift declaration
var context: CGContext? { get }
get · iOS 2.0+

size

TypeScript
get size(): { width: number; height: number }
Swift declaration
var size: CGSize { get }
get · iOS 2.0+

typeID

TypeScript
static get typeID(): number
Swift declaration
class var typeID: CFTypeID { get }

Skipped declarations

No declarations were skipped in this snapshot.

All CoreGraphics types →