brepjs API Reference
    Preparing search index...

    Function textBlueprints

    • Convert a text string into 2D Blueprints using a loaded font.

      Each glyph outline is traced as a series of line/bezier curves, then organised into a Blueprints collection (outer contours + holes).

      Parameters

      • text: string

        The string to render.

      • __namedParameters: { fontFamily?: string; fontSize?: number; startX?: number; startY?: number } = {}

      Returns Blueprints

      A Blueprints instance representing the text outlines.

      Requires a font to be loaded via loadFont before use.