canScale property

bool canScale

True if this element can be scaled interactively, false otherwise.

The value of InteractionConfiguration.allowScalingSelectedElement of the current GeometryEditor.tool determines this value. The element can be scaled programmatically regardless of this value, for example using GeometryEditor.scaleSelectedElement.

The following can never be scaled interactively, regardless of the InteractionConfiguration settings:

Implementation

bool get canScale {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_GeometryEditorElement_getCanScale(
      _handle,
      errorHandler,
    );
  });
}