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

# typeID

Returns the Core Foundation type identifier for Core Graphics shading objects.

## Declaration

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