---
title: slant
framework: appkit
role: symbol
role_heading: Type Property
path: appkit/nsfontdescriptor/traitkey/slant
---

# slant

The relative slant angle value as a number object.

## Declaration

```swift
static let slant: NSFontDescriptor.TraitKey
```

## Discussion

Discussion The value of this key is an NSNumber object. The valid value range is from -1.0 to 1.0. The value of 0.0 corresponds to 0 degree clockwise rotation from the vertical and 1.0 corresponds to 30 degrees clockwise rotation.

## See Also

### Trait Keys

- [symbolic](appkit/nsfontdescriptor/traitkey/symbolic.md)
- [weight](appkit/nsfontdescriptor/traitkey/weight.md)
- [width](appkit/nsfontdescriptor/traitkey/width.md)
