produceTextBlockGeometry Function
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.
produceTextBlockGeometry(layout: TextBlockLayout, documentTransform: Transform): TextBlockGeometryProps
@returns TextBlockGeometryProps.
Parameter | Type | Description |
---|---|---|
layout | TextBlockLayout | of the text block as computed by layoutTextBlock. |
documentTransform | Transform | that positions the text block in world coordinates. |
Returns - TextBlockGeometryProps
TextBlockGeometryProps.
Defined in
Last Updated: 27 June, 2025
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.