verticalAlignment property
The vertical alignment of the text symbol relative to the symbol's mid-point location.
The default value is VerticalAlignment.middle. Returns VerticalAlignment.middle if an error occurs.
Implementation
VerticalAlignment get verticalAlignment {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_TextSymbol_getVerticalAlignment(
_handle,
errorHandler,
);
});
return VerticalAlignment._fromCoreValue(
coreValue,
);
}
Implementation
set verticalAlignment(VerticalAlignment value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_TextSymbol_setVerticalAlignment(
_handle,
value.coreValue,
errorHandler,
);
});
}