Contents

setBidiLevels(_:forGlyphRange:)

Sets the direction of the specified glyphs for bidirectional text.

Declaration

func setBidiLevels(_ levels: UnsafePointer<UInt8>!, forGlyphRange glyphRange: NSRange)

Parameters

  • levels:

    Values in levels can range from 0 to 61 as defined by Unicode Standard Annex #9.

  • glyphRange:

    The range of glyphs for which the bidirectional text levels are desired.

Discussion

A subclass can override this method to interact with custom glyph storage.

See Also

Interfacing with Glyph Storage