question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

provide selection_line_width and nonselection_line_width

See original GitHub issue

Is your feature request related to a problem? Please describe. I would like to be able to set a line width for selections. In my case these are “rect”, so if implemented this would allow a nice effect of a “frame” around the selection.

Describe the solution you’d like I woud like for selection_line_width to be usable just like i.e. selection_line_color. I would be willing to try to implement this if I get some guidance on how to proceed.

Additional context In my particular application I have adjacent rectangles which are densely packed in some areas and spread out in other areas, so setting line_width to a larger value and playing with selection_line_alpha is not an option.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
bryevdvcommented, Aug 8, 2019

for glyph methods, text_color only pertains to the Text glyph (there are other things with text color properties, but they are not glyphs, so not covered by this work) I think keeping it simple and having color set every *_color property is exactly right.

Re: plotting.ts if you are up for it, yes ideally a PR will update that logic to match. We could accept a PR without that update, as long as there was a new issue made to update that file, later.

Can you go ahead and submit a PR based on the current branch? If any changes are necessary we can discuss them more easily in the PR

1reaction
solstagcommented, Aug 8, 2019

Yes @bryevdv , sorry I’ve been absent. Will push soon.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Change line weight in selection - Usage & Issues
Edit > Options > Line Width affects the width of drawn lines but not “live” selections (except for line selections). You can change...
Read more >
How do I plot lines with different line widths? - MATLAB Answers
2. Use the “hold on” command to plot the two lines separately. Specify the line width by setting the “LineWidth” property a name-value...
Read more >
Linewidth - RP Photonics
The optical linewidth is the width of the spectrum of a light beam or an absorption feature. Some lasers exhibit an extremely small...
Read more >
Tools - ImageJ
Line Width - Allows you to vary the line width used by the line selection tool, the line drawing tool, the profile plotting...
Read more >
CanvasRenderingContext2D.lineWidth - Web APIs | MDN
lineWidth property of the Canvas 2D API sets the thickness of lines. ... This example draws a line and a rectangle, using a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found