Strokes thickness that extends only outward.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Non-zero Stroke thicknesses currently cause the stroke to extend out from
the edge of the fill of an object, as well as in towards the fill of the
object. So if you have a shape with a fill color set, and a
semi-transparent Stroke Color, the half of the stoke width that extends
into the shape takes on color from the fill. This gives the illusion of 2
strokes.
So currently, there is no reasonable way that I can find to create a shape
with a semi-transparent thick border without looking like 2 overlapping
shapes.
One solution may be to have the option to have the stroke extend only
outward, instead of into the shape fill area as well.
Another solution would be to have the option for the stroke to clip the
fill as it extends inward.
To implement both these solutions would be amazing, since it would also
solve the problem of shape width and height changing when stroke thickenss
is changed. With "Strokes extend inward" set you could change the thickness
of the stroke without affecting the size of the shape.
The options could be:
"Stroke extends inward"
"Stroke extends outward"
"Stroke extends inward and outward" (the current default)
Then (only if "Stroke extends outward" is not set) could present a checkbox
for wether the fill area should be clipped by the stroke. This stuff
combined would be huge.
Attached is a gray circle with a semi-transparent green border with a
thickness of 15px. You can see it appears to be double stroked.
Originator: NO
This placement of stroke is what is prescribed in SVG standard. We cannot
change that. You can only simulate this with clipping and/or outsetting.