Classes

The following classes are available globally.

  • A FontFile object represents the file of a specific font format.

    See more

    Declaration

    Swift

    public class FontFile
  • The Renderer class represents a generic glyph renderer. It can be used to generate glyph paths, measure their bounding boxes and draw them in a CGContext object.

    See more

    Declaration

    Swift

    public class Renderer
  • The Typeface class specifies the typeface and intrinsic style of a font. This is used in the renderer, along with optionally Renderer settings like typeSize, slantAngle, scaleX, to specify how text appears when drawn (and measured).

    See more

    Declaration

    Swift

    public class Typeface
  • The TypefaceManager class provides management activities related to typefaces.

    See more

    Declaration

    Swift

    public class TypefaceManager
  • Represents a frame containing multiple lines of text. It is the output resulting from text-framing process performed by a typesetter.

    See more

    Declaration

    Swift

    public class ComposedFrame
  • Represents a line of text consisting of an array of GlyphRun objects in visual order.

    See more

    Declaration

    Swift

    public class ComposedLine
  • This class resolves text frames by using a typesetter object.

    See more

    Declaration

    Swift

    public class FrameResolver
  • A glyph run is a collection of consecutive glyphs sharing the same attributes and direction.

    See more

    Declaration

    Swift

    public class GlyphRun
  • Represents a typesetter which performs text layout. It can be used to create lines, perform line breaking, and do other contextual analysis based on the characters in the string.

    See more

    Declaration

    Swift

    public class Typesetter
  • The ShapingEngine class represents text shaping engine.

    See more

    Declaration

    Swift

    public class ShapingEngine
  • A ShapingResult object is a container for the results of text shaping. It is generated by a ShapingEngine object to provide the information related to characters, their glyphs, offsets, and advances.

    See more

    Declaration

    Swift

    public class ShapingResult
  • This class implements Unicode Bidirectional Algorithm available at http://www.unicode.org/reports/tr9.

    A BidiAlgorithm object provides information related to individual paragraphs in source string by applying rule P1. It can be used to create paragraph objects by explicitly specifying the paragraph level or deriving it from rules P2 and P3. Once a paragraph object is created, embedding levels of characters can be queried from it.

    See more

    Declaration

    Swift

    public class BidiAlgorithm
  • A BidiLine object represents a single line processed with rules L1-L2 of Unicode Bidirectional Algorithm. Instead of reordering the characters as stated by rule L2, it allows to query and iterate over reordered level runs. The caller is responsible to reorder the characters manually, if required.

    See more

    Declaration

    Swift

    public class BidiLine
  • A BidiParagraph object represents a single paragraph of text processed with rules X1-I2 of Unicode Bidirectional Algorithm. It contains the resolved embedding levels of all the characters of a paragraph and provides the facility to query them or iterate over their runs.

    See more

    Declaration

    Swift

    public class BidiParagraph
  • This class implements UAX #24 available at http://www.unicode.org/reports/tr24.

    See more

    Declaration

    Swift

    public class ScriptClassifier
  • A view that displays read-only text to the user.

    See more

    Declaration

    Swift

    open class TLabel : UIView
  • A scrollable, multiline text region.

    See more

    Declaration

    Swift

    open class TTextView : UIScrollView