nodegui-plugin-metrics
v1.0.1
Published
A QFontMetrics binding for nodegui
Downloads
4
Readme
nodegui-plugin-metrics
A minimal binding of QFontMetrics, which gives two functions.
Bindings
new QFontMetrics(font: QFont)
QFontMetrics::boundingRect(text: String)
QFontMetrics::elidedText(text: String, mode: TextElideMode, width: number, flags: number = 0)