Contents

UIBaselineAdjustment

Vertical adjustment options.

Declaration

enum UIBaselineAdjustment

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 UIBaselineAdjustment.alignBaselines option, the position of the baseline remains fixed at its initial location while the text appears to move toward that baseline. Similarly, the UIBaselineAdjustment.none option makes it appear as if the text is moving upwards toward the top-left corner of the bounding box.

Topics

Constants

Initializers

See Also

Strings