public class SnapCommand extends AbstractCommand
version
Constructor and Description |
---|
SnapCommand(AbstractTemplate template,
double diameter)
Snap command
|
Modifier and Type | Method and Description |
---|---|
void |
execute() |
Element |
getModifiedElement() |
void |
undo() |
getVersion, setVersion
public SnapCommand(AbstractTemplate template, double diameter)
template
- - the template objectdiameter
- - the position valuepublic void execute()
public void undo()
public Element getModifiedElement()
Copyright © 2014 Uppsala University and Aalborg University. All Rights Reserved.