appendFrameToBuilder Function

Based on the frame style, this method will construct and append GeometryParams (for line style) and a Loop (for the frame shape) to the builder.

appendFrameToBuilder(builder: ElementGeometry.Builder, frame: TextFrameStyleProps, range: Range2d, transform: Transform, geomParams: GeometryParams): boolean

@returns true if any geometry was appended to the builder

Parameter Type Description
builder ElementGeometry.Builder that will be appended to in place
frame TextFrameStyleProps  
range Range2d to enclose with the frame
transform Transform that transform the range to world coordinates
geomParams GeometryParams  

Returns - boolean

true if any geometry was appended to the builder

Defined in

Last Updated: 27 June, 2025