setUnderline static method
Sets the function that, given the TextBlock and numerical text height, computes the position to draw the underline of a line of text in all TextBlocks.
This computation affects drawing only, and does not change TextBlock measurement calculations.
It is expected this method will be called before or during initialization of any Diagram.
Diagrams will not redraw when this method has been called,
and you should call Diagram.redraw()
if you are calling this method outside of your initialization.
Implementation
static void setUnderline(
[_i2.num Function(
_i3.TextBlock,
_i2.num,
)? value]) {
_i4.callMethod(
_declaredTextBlock,
'setUnderline',
[value == null ? _i5.undefined : _i4.allowInterop(value)],
);
}