fontWeight property

ArcGISFontWeight fontWeight

The font weight of the text symbol.

Font weight describes how thick or thin characters in text are displayed. The default value is ArcGISFontWeight.normal. Returns ArcGISFontWeight.normal if an error occurs.

Implementation

ArcGISFontWeight get fontWeight {
  final coreValue = _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_TextSymbol_getFontWeight(_handle, errorHandler);
  });
  return ArcGISFontWeight._fromCoreValue(coreValue);
}
void fontWeight=(ArcGISFontWeight value)

Implementation

set fontWeight(ArcGISFontWeight value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_TextSymbol_setFontWeight(
        _handle, value.coreValue, errorHandler);
  });
}