isEnabled property
True to allow interactive snapping, based on the configured SnapSettings.sourceSettings, false otherwise. Default is false.
If SnapSettings.isEnabled is true and a user edits a geometry interactively, then when the pointer is close to an existing snappable graphic or feature, the position of the interactive edit is adjusted to coincide with ("snap to") that graphic or feature. The content of SnapSettings.sourceSettings determines which sources of geometries can be used to snap to.
Implementation
bool get isEnabled {
return _withThrowingErrorHandler((errorHandler) {
return runtimecore.RT_SnapSettings_getIsEnabled(
_handle,
errorHandler,
);
});
}
Implementation
set isEnabled(bool value) {
_withThrowingErrorHandler((errorHandler) {
runtimecore.RT_SnapSettings_setIsEnabled(
_handle,
value,
errorHandler,
);
});
}