---
title: typeID
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cggradient/typeid
---

# typeID

Returns the Core Foundation type identifier for CGGradient objects.

## Declaration

```swift
class var typeID: CFTypeID { get }
```
