fontStyle property
The font style of the text symbol.
The default value is FontStyle.normal. Returns FontStyle.normal if an error occurs.
Implementation
FontStyle get fontStyle {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TextSymbol_getFontStyle(_handle, errorHandler);
});
return FontStyle._fromCoreValue(coreValue);
}
Implementation
set fontStyle(FontStyle value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_TextSymbol_setFontStyle(
_handle, value.coreValue, errorHandler);
});
}