UNPKG

@itwin/core-backend

Version:
16 lines 842 B
/** @packageDocumentation * @module ElementGeometry */ import { TextBlockGeometryProps } from "@itwin/core-common"; import { TextBlockLayout } from "./TextBlockLayout"; import { Transform } from "@itwin/core-geometry"; /** * Produces the geometry for a text block in a way that can be interpreted by a [[GeometryStreamBuilder]] or [[ElementBuilder.Geometry]]. * To build the geometry for a whole [[TextAnnotation]], use [[appendTextAnnotationGeometry]] instead. * @param layout of the text block as computed by [[layoutTextBlock]]. * @param documentTransform that positions the text block in world coordinates. * @returns TextBlockGeometryProps. * @beta */ export declare function produceTextBlockGeometry(layout: TextBlockLayout, documentTransform: Transform): TextBlockGeometryProps; //# sourceMappingURL=TextBlockGeometry.d.ts.map