문제

I want to build an JavaFX Graphics Editor with object-orientated patterns, such as Prototype, Composite, Singleton, etc. The problem I have, is to resize an already drawn shape in my AnchorPane. So my idea would be to click i.e. on a rectangle, then a sourrounding border appears which small buttons in each corner to start resizing for that rectangle. Imagine Photoshop resizing, there you also hava such a border, you know. So how can I do this?

Thanks in advance ;)

도움이 되었습니까?

해결책

Here is my solution shown in my Graphics Editor.

https://github.com/djessich/GraphicsEditor

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top