Skip to content

vyaz-monorepo / renderers/src / renderParagraphToSVG

Function: renderParagraphToSVG()

renderParagraphToSVG(lines, paragraphWidth, paragraphHeight, options?): string

Defined in: renderers/src/SVGRenderer.ts:1396

Render one ParagraphLayoutResult to SVG (convenience wrapper).

Parameters

lines

Line[]

paragraphWidth

number

paragraphHeight

number

options?

SVGRenderOptions

Returns

string

Released under the MIT License.