You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SVGAndroidRenderer::2385
Code: state.strokePaint.setStrokeWidth(state.style.strokeWidth.floatValue(this));
The method "Paint.setStrokeWidth" has one unpleasant feature:
Set the width for stroking.
Pass 0 to stroke in hairline mode.
Hairlines always draws a single pixel independent of the canvas's matrix.
Because of this, we may see a border even where we set it to zero width.
I have temporary solution for this, adding:
if (state.style.strokeWidth.isZero()) {
state.style.strokeOpacity = 0f;
}
after setStrokeWidth and modifying state.hasStroke = with:
SVGAndroidRenderer::2385
Code:
state.strokePaint.setStrokeWidth(state.style.strokeWidth.floatValue(this));
The method "Paint.setStrokeWidth" has one unpleasant feature:
Because of this, we may see a border even where we set it to zero width.
I have temporary solution for this, adding:
after
setStrokeWidth
and modifyingstate.hasStroke =
with:in several places
The text was updated successfully, but these errors were encountered: