rotationType property
Indicates whether the rotation calculated from the Renderer.rotationExpression is interpreted as arithmetic or geographic.
The options are:
- RotationType.arithmetic - rotation is along the x-axis, with positive rotation being counter-clockwise.
- RotationType.geographic - rotation is along the y-axis, with positive rotation being clockwise.
RotationType.arithmetic if an error occurs.
Implementation
RotationType get rotationType {
final coreValue = _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_Renderer_getRotationType(
_handle,
errorHandler,
);
});
return RotationType._fromCoreValue(
coreValue,
);
}
Implementation
set rotationType(RotationType value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_Renderer_setRotationType(
_handle,
value.coreValue,
errorHandler,
);
});
}