horizontalAlignment property
The horizontal alignment of the text symbol relative to the symbol's mid-point location.
The default value is HorizontalAlignment.center. Returns HorizontalAlignment.center if an error occurs.
Implementation
HorizontalAlignment get horizontalAlignment {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TextSymbol_getHorizontalAlignment(
_handle,
errorHandler,
);
});
return HorizontalAlignment._fromCoreValue(
coreValue,
);
}
Implementation
set horizontalAlignment(HorizontalAlignment value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_TextSymbol_setHorizontalAlignment(
_handle,
value.coreValue,
errorHandler,
);
});
}