Jump to content

Archydemon

Members
  • Content Count

    5
  • Joined

  • Last visited

  1. UPD: I decided to break figures to repeatable tiles and prepared a set of PNGs with dashed line drawn in it. So I just build figures that I need out of tiles
  2. UPD: I have found an extremely easy but dirty way of doing this. Classic 2d canvas has built-in function for drawing dashed lines. It will work for me as I need static lines. But I don't really like the idea of creating second canvas element just for creating a layer with dashed lines.
  3. I'm looking for a way of creating an enclosed perimeter with dashed border. It will contain only vertical and horizontal lines, but the path can be complex. For example let's just imagine I need to draw Tetris figures (no fill, just perimeter) with dashed line. As far as I can see in the documentation figure stroke and lines can only change color and alpha. Any suggestions of achieving the dashed line effect are appreciated. Thanks in advance.
  4. Thanks for the detailed explanation. It was really helpful.
  5. Bumped into this post with the same problem. I was not able to make "pointerover" event work on mobile. Got any updates on this?
×
×
  • Create New...