Contents

invalidateLayout(forCharacterRange:actualCharacterRange:)

Invalidates the layout information for the glyphs that map to the specified character range.

Declaration

func invalidateLayout(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?)

Parameters

  • charRange:

    The range of characters to invalidate.

  • actualCharRange:

    If not NULL, on output, the actual range invalidated after any necessary expansion.

Discussion

This method has the same effect as invalidateLayout(forCharacterRange:isSoft:actualCharacterRange:) with flag set to false.

This method only invalidates information; it performs no glyph generation or layout. You should rarely need to invoke this method.

See Also

Invalidating glyphs and layout