Drawer example

35 views
Skip to first unread message

Samuel Schwebel

unread,
Nov 1, 2017, 4:56:00 PM11/1/17
to StageXL
I need to implement a drawer (for mind map or work flow). Is there any example using StageXL to do this in Dart? Thanks!

Bernhard Pichler

unread,
Nov 2, 2017, 2:38:39 PM11/2/17
to Samuel Schwebel, StageXL
Hi,

Unfortunately there are only a few examples for the drawing API, since drawing is probably not the most used feature of StageXL. 

Here is an overview how the drawing API works:

And here is an example, but this one just shows the how to draw encoded paths:

Anyhow, i think the API is not that hard to use. You can also ask for details if something is not clear.

Kind regards,
Bernhard







Samuel Schwebel <samuel....@gmail.com> schrieb am Mi., 1. Nov. 2017 um 21:56 Uhr:
I need to implement a drawer (for mind map or work flow). Is there any example using StageXL to do this in Dart? Thanks!

--
You received this message because you are subscribed to the Google Groups "StageXL" group.
Visit this group at https://groups.google.com/group/stagexl.
To view this discussion on the web visit https://groups.google.com/d/msgid/stagexl/0b053424-204a-432a-a83d-73d32e06e1c5%40googlegroups.com.

Samuel Schwebel

unread,
Nov 13, 2017, 8:45:41 AM11/13/17
to StageXL
Thanks Bernhard, this examples are a start points for me.

How I am a new on Canvas, I need understand better how to handle the mouse events to draw shapes from dynamic way.

At first moment, I am looking for a  Rectangle and Line Connection similar to https://www.draw.io/ found in General. 

If you have a tips from easy examples (can be in Javascript, then I can to get a logic then), I am thank!
Reply all
Reply to author
Forward
0 new messages