fontStyle property

ArcGISFontStyle fontStyle

The font style of the text symbol.

The default value is ArcGISFontStyle.normal. Returns ArcGISFontStyle.normal if an error occurs.

Implementation

ArcGISFontStyle get fontStyle {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TextSymbol_getFontStyle(
      _handle,
      errorHandler,
    );
  });
  return ArcGISFontStyle._fromCoreValue(
    coreValue,
  );
}
void fontStyle=(ArcGISFontStyle value)

Implementation

set fontStyle(ArcGISFontStyle value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TextSymbol_setFontStyle(
      _handle,
      value.coreValue,
      errorHandler,
    );
  });
}