---
title: edgeAntialiasingMask
framework: quartzcore
role: symbol
role_heading: Instance Property
path: quartzcore/calayer/edgeantialiasingmask
---

# edgeAntialiasingMask

A bitmask defining how the edges of the receiver are rasterized.

## Declaration

```swift
var edgeAntialiasingMask: CAEdgeAntialiasingMask { get set }
```

## Discussion

Discussion This property specifies which edges of the layer are antialiased and is a combination of the constants defined in CAEdgeAntialiasingMask. You can enable or disable antialiasing for each edge (top, left, bottom, right) separately. By default antialiasing is enabled for all edges. Typically, you would use this property to disable antialiasing for edges that abut edges of other layers, to eliminate the seams that would otherwise occur.

## See Also

### Configuring the layer’s rendering behavior

- [isOpaque](quartzcore/calayer/isopaque.md)
- [contentsAreFlipped()](quartzcore/calayer/contentsareflipped().md)
- [isGeometryFlipped](quartzcore/calayer/isgeometryflipped.md)
- [drawsAsynchronously](quartzcore/calayer/drawsasynchronously.md)
- [shouldRasterize](quartzcore/calayer/shouldrasterize.md)
- [rasterizationScale](quartzcore/calayer/rasterizationscale.md)
- [contentsFormat](quartzcore/calayer/contentsformat.md)
- [render(in:)](quartzcore/calayer/render(in:).md)
