canRotate property
True if this element can be rotated interactively, false otherwise.
The value of InteractionConfiguration.allowRotatingSelectedElement of the current GeometryEditor.tool determines this value. The element can be rotated programmatically regardless of this value, for example using GeometryEditor.rotateSelectedElement.
The following can never be rotated interactively, regardless of the InteractionConfiguration settings:
- GeometryEditorVertex
- GeometryEditorMidVertex
- GeometryEditorGeometry when the geometry type is GeometryType.point
Implementation
bool get canRotate {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_GeometryEditorElement_getCanRotate(
_handle,
errorHandler,
);
});
}