Line Editor shouldn't allow creating rotated two-point lines
See original GitHub issueCurrently, two-point lines must always be unrotated. (angle=0
)
With Line Editor, we can techniically create a rotated two-point line, which leads to unexpected behaviors.
Cc @dwelle
Issue Analytics
- State:
- Created 3 years ago
- Comments:20 (20 by maintainers)
Top Results From Across the Web
Work with the line tool - Adobe Support
The Line Tool allows you to draw a two-point line on the canvas. Lines can be drawn as vector shapes, paths, or pixels....
Read more >Edit connector lines, arrows, or points - Microsoft Support
Add or delete points, edit line weight and color, change or reverse arrow types, and make connectors curved, angled, or straight.
Read more >Rotating a feature—ArcMap | Documentation
You can rotate features using the Rotate tool Rotate Tool . With this tool active, drag the pointer to rotate the selected features...
Read more >Add lines and arrows in Keynote on Mac - Apple Support
To edit the line's shape or position, do any of the following: Move the line: Click anywhere on the line, then drag it...
Read more >rotate() - CSS: Cascading Style Sheets - MDN Web Docs
The rotate() CSS function defines a transformation that rotates an element around a fixed point on the 2D plane, without deforming it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I wouldn’t go that path as it’s non-intuitive and prevents several use cases (e.g. you’re toying with a 3-point line and decide you want to get rid of the middle point).
If we removed, it’d still just be a temp solution as I don’t think we’d want to retain this arbitrary limitation. As such, let’s just fix the problem at hand instead of hacking it further.
This is gonna be fun 😃. Isn’t it better to handle rotation for 2-point lines as we do elsewhere? Would simplify everything.