API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceHTMLTextOptions

@codexo/exojs / rendering / stable

4
props
0
methods
0
events
Import
import { HTMLTextOptions } from '@codexo/exojs'
Properties4
css?: string
CSS injected inside a <style> tag within the SVG foreignObject.
height?: number
Logical height in pixels. Default: 128
resolution?: number
Device-pixel ratio applied to the backing canvas. Values >1 produce a sharper texture at the cost of a larger canvas. Default: 1
width?: number
Logical width in pixels. Default: 256
Source