The receiver’s cap height information.
SDKs
- iOS 2.0+
- tvOS 9.0+
- watchOS 2.0+
Framework
- UIKit
Declaration
var capHeight: CGFloat { get }
Discussion
This value measures (in points) the height of a capital character.
The receiver’s cap height information.
SDKs
Framework
var capHeight: CGFloat { get }
This value measures (in points) the height of a capital character.
var point Size: CGFloat
The receiver’s point size, or the effective vertical point size for a font with a nonstandard matrix.
var ascender: CGFloat
The top y-coordinate, offset from the baseline, of the receiver’s longest ascender.
var descender: CGFloat
The bottom y-coordinate, offset from the baseline, of the receiver’s longest descender.
var leading: CGFloat
The receiver’s leading information.
var x Height: CGFloat
The x-height of the receiver.
var line Height: CGFloat
The height of text lines (measured in points).