Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suport dashed strokes #28

Open
mattrei opened this issue Nov 22, 2017 · 1 comment
Open

Suport dashed strokes #28

mattrei opened this issue Nov 22, 2017 · 1 comment

Comments

@mattrei
Copy link

mattrei commented Nov 22, 2017

Dashed lines are very common in illustrating things and can be easily implemented in HTML Canvas or SVG.

@skeenp
Copy link

skeenp commented Jul 6, 2018

Dashed lines would be good, I'll add my support. A simple subset from svg would suffice, or the equivilant of a dash array tag.

  • stroke-dasharray="10 2" > large-dash
  • stroke-dasharray="10 5" > medium-dash
  • stroke-dasharray="10" > small-dash
  • stroke-dasharray="5 10" > large-dot
  • stroke-dasharray="1 1" > small-dot
// OPTIONAL: default ""
// dash pattern for stroke
//
// Value must be one of
// "large-dash"
// "medium-dash"
// "small-dash"
// "large-dot"
// "small-dot"
"stroke-dash": "#555555",

or

// OPTIONAL: default ""
// dash array pattern for stroke
//
"stroke-dasharray": "5 10",

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants