---
title: opacity()
framework: quartz
role: symbol
role_heading: Instance Method
path: quartz/ikimagebrowsercell/opacity()
---

# opacity()

Returns the opacity of the receiver.

## Declaration

```swift
func opacity() -> CGFloat
```

## Return Value

Return Value The cell’s opacity.

## Discussion

Discussion Possible values are between 0.0 (transparent) and 1.0 (opaque). Subclasses can override this method to customize the opacity of the cell.

## See Also

### Cell Content Display

- [imageAlignment()](quartz/ikimagebrowsercell/imagealignment().md)
