<!--
{
  "documentType" : "article",
  "framework" : "QuartzCore",
  "identifier" : "/documentation/QuartzCore/gradient-types",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Gradient Types"
}
-->

# Gradient Types

The style of gradient drawn by the layer.

## Topics

### Constants

[`static let axial: CAGradientLayerType`](/documentation/QuartzCore/CAGradientLayerType/axial)

An axial gradient (also called a linear gradient) varies along an axis between two defined end points. All points that lie on a line perpendicular to the axis have the same color value.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)