DTCoreTextLayoutFrameLinePositioningOptions Constants Reference
Declared in | DTCoreTextConstants.h |
DTCoreTextLayoutFrameLinePositioningOptions
The algorithm that DTCoreTextLayoutFrame uses for positioning lines
Definition
typedef NS_ENUM(NSUInteger, DTCoreTextLayoutFrameLinePositioningOptions ) {
DTCoreTextLayoutFrameLinePositioningOptionAlgorithmWebKit = 1,
DTCoreTextLayoutFrameLinePositioningOptionAlgorithmLegacy = 2,
};
Constants
DTCoreTextLayoutFrameLinePositioningOptionAlgorithmWebKit
-
The line positioning algorithm is similar to how Safari positions lines
Declared In
DTCoreTextConstants.h
. DTCoreTextLayoutFrameLinePositioningOptionAlgorithmLegacy
-
The line positioning algorithm is how it was before the implementation of DTCoreTextLayoutFrameLinePositioningOptionAlgorithmWebKit
Declared In
DTCoreTextConstants.h
.
Declared In
DTCoreTextConstants.h