Another control that I saw in Adobe Fireworks and other drawing programs is a control that is used to select an anchor. One can use it to select the origin or to define the position in a layout etc.
Here is a little screenshot of the control in Adobe Fireworks:
It's not very fancy that's for sure but sometimes you might need exactly such a control and then you know where to find it :)
The method getSelectedAnchor() will return a Pos object that you can use for whatever you need it.
Here is also a little video that shows the control in action...
In principle that's it and as always you can find the source code at github.
Keep coding...
No comments:
Post a Comment