Enumeration

UIBaselineAdjustment

Vertical adjustment options.

Overview

Baseline adjustment options determine how to adjust the position of text in cases where the text must be drawn using a different font size than the one originally specified. For example, with the alignBaselines option, the position of the baseline remains fixed at its initial location while the text appears to move toward that baseline. Similarly, the none option makes it appear as if the text is moving upwards towards the top-left corner of the bounding box.

Symbols

Constants

case alignBaselines

Adjust text relative to the position of its baseline.

case alignCenters

Adjust text based relative to the center of its bounding box.

case none

Adjust text relative to the top-left corner of the bounding box. This is the default adjustment.