Contents

CTFramesetterCreateWithTypesetter(_:)

Creates a framesetter directly from a typesetter.

Declaration

func CTFramesetterCreateWithTypesetter(_ typesetter: CTTypesetter) -> CTFramesetter

Parameters

  • typesetter:

    The typesetter that the framesetter uses to lay out text.

Return Value

This function returns a reference to a CTFramesetter object.

Discussion

Each framesetter uses a typesetter internally to perform line breaking and other contextual analysis according to the characters in a string. This function allows the framesetter to use a typesetter that the system constructs using specific options.

See Also

Creating a Framesetter