createTerminatorGeometry Function

Creates the geometry for a terminator at the end of a leader line.

createTerminatorGeometry(builder: ElementGeometry.Builder, point: Point3d, dir: Vector3d, params: GeometryParams, textStyleSettings: TextStyleSettings, textHeight: number): boolean

@returns True if the geometry was successfully created, false otherwise.

Parameter Type Description
builder ElementGeometry.Builder The geometry builder to append the terminator geometry to.
point Point3d The starting point of the leader line.
dir Vector3d The direction vector of the leader line.
params GeometryParams The geometry parameters to use for the terminator.
textStyleSettings TextStyleSettings The text style settings to use for the terminator.
textHeight number The height of the text block.

Returns - boolean

True if the geometry was successfully created, false otherwise.

Defined in

Last Updated: 06 November, 2025