Hairline Stroke and Outline removal



  • Consider this a feature request if I haven't somehow altered my program preferences... otherwise it just feels like possibly inconsistent UI. 🙂

    I'd suggest the default for the stroke to be NO outline at all. "Hairline" barely shows up and made me wonder why setting 0.00 stoke width didn't simply remove the outline. Instead I needed to locate the Remove outline tool.

    Addition suggestions are...

    • Add "None" as an option just before "Hairline" in the numerical list
    • Make the Circle and Round Rect versions of the remove Stroke tool look more similar - I'd go so far as to use the convention of the Transparent Alpha Grid with the red 45 degree slash line when there's no Stroke (or fill) as the "chip" preview, vs the deep grey that's shown now.
    • This might be a stretch, but maybe the remove stroke / fill tool sits directly next to the color chip?

    Thoughts?

    0_1595443048794_circle.png
    0_1595443053630_round-rect.png


  • administrators

    Thanks for the feedback:

    If the default stroke is no outline, then we need a fill for new objects. This can be done easily (added to the backlog).
    The 0.0 width stroke (hairline) is a feature, as this means that it is as thin as possible regardless of zoom level.

    • "None" option can be added.
    • The icons will be made the same. Will consider the red slash line icon for this.
    • If I understand this you mean moving the "remove stroke/fill" buttons next to the "Fill:" and "Stroke:" dropdown fields. This can also be done easily.

    Added these to the backlog (task list) should not be a problem.



  • @vectoradmin said in Hairline Stroke and Outline removal:

    The 0.0 width stroke (hairline) is a feature, as this means that it is as thin as possible regardless of zoom level.

    Hmm.. This is interesting, but I don't understand the feature exactly. Setting the export resolution on raster based files results in hairlines are supposed to be width of the pixel dimension, but are being exported looking like transparent strokes because of antialiasing? or some variation sub-pixel rendering? Even when using black color, the hairline is transparent grey. Maybe I need to experiment more and get the objects set on a pixel grid? Would like to know what the use case was for this.


  • administrators

    Hairlines are rendered as 1 subpixel (of antialising that is 5X3 subpixels inside a pixel by default).
    This makes them transparent.
    I think using an other pixel (or subpixel) width for hairlines is possible to implement.


  • administrators

    Hi.

    The above discussed issues should be fixed in build 154.
    The hairline stroke width can be set (in pixels) in the View -> Display Options -> Precision view.

    The default fill/stroke for objects can be set to fill (gray) or stroke (thin black) in Preferences -> Editing. It is set to gray by default.



  • @vectoradmin This all seems to be working nicely! thank you. "No Fill/Stroke" swatches look great 👍



  • Following up on this. V 154 allows the user to select "None" under stroke width, but the object never retains that setting. Instead it defaults back to "Hairline". This is a problem since the numeric field still shows 0.0


  • administrators

    About the stroke after selecting None: could not replicate this, maybe there are some other conditions.
    Could you check the content of the Appearance panel? does it contain a Stroke after selecting None ?


  • administrators

    BTW: saw the crashes, will investigate more.
    Is there an example document with the shapes causing crashes with the Combine operation?



  • @vectoradmin Interesting. Seems to be a disconnected "Transparency" showing in the Appearance panel.
    https://vimeo.com/443103640/a2bb7ad79e



  • @vectoradmin I believe this is the document that was originally causing crashes when trying to union the vader shapes. For now, it's been behaving with no crashes - though sometimes I see the vader shapes either flipped or transformed to being upside down. Strange.
    https://www.dropbox.com/s/zoh9nq0qi1szg3o/vader.vstyler?dl=1


  • administrators

    @badcat The transparency thing is by design.
    The bottom one (visible before opening the Fill) is the object level transparency (for everything in the object).
    And each individual style on the object (multiple fill or stroke, object content, etc) can have its own separate transparency setting, applied only to that style.