fontFamily property
The font family of the text symbol.
This can be as specific as 'arial' or as generic as 'sans-serif', for example.
Implementation
String get fontFamily {
final stringHandle = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TextSymbol_getFontFamily(
_handle,
errorHandler,
);
});
return stringHandle.toDartString();
}
Implementation
set fontFamily(String value) {
final coreValue = _CString(value);
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_TextSymbol_setFontFamily(
_handle,
coreValue.bytes,
errorHandler,
);
});
}