/**
* Return the world position of the mouse event, unless snapping is activated. If that is the case, a snapped point
* will be returned (still in world space).
*/
protected Coordinate getWorldPosition(MouseEvent<?> event) {
Coordinate world = super.getWorldPosition(event);
if (snappingActive) {
return snapper.snap(world);
}
return world;
}
AbstractSnappingController.java 文件源码
java
阅读 28
收藏 0
点赞 0
评论 0
项目:geomajas-project-client-gwt
作者:
评论列表
文章目录