-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Pivot users,

Is it possible to have arbitrarily-shaped widgets that respond to
mouse events?

I have a project that attempts to implement a fairly complex board
game, and has a Pivot UI.  I've been using a StackPane to implement a
view of the game board, with an ImageView at the bottom, and player
markers, game pieces, etc as widgets stacked on top.

I'd love to present players with possible paths for their pieces to
move on the board with arrows.  Paths can pass through various board
locations, so they can look like zig-zags.

Is it possible to make a widget that draws a zig-zag shape with
Pivot's SVG support (or something else), and makes the shape respond
to mouse over and mouse click events?  Is there a better way to
achieve this?

I had done something similar in the past with now-deprecated Pivot
classes like 1.5's Rectangle, etc, but this was very rudimentary.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAk+XSAAACgkQ0GFaTS4nYxuwHgCfXlxUmMhF/i7Wg2Ubxzzdt2Ck
UnMAn3LhYSnuC1FNru/3RD/HSHHQPAxP
=uBJn
-----END PGP SIGNATURE-----

Reply via email to