fontFamily property

String fontFamily

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();
}
void fontFamily=(String value)

Implementation

set fontFamily(String value) {
  final coreValue = _CString(value);
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TextSymbol_setFontFamily(
        _handle, coreValue.bytes, errorHandler);
  });
}