Skip to content

Missing semicolon in SVGGraphics2D#strokeStyle() #38

@christianAppl

Description

@christianAppl

A semicolon is missing for the miterLimit.
I did not check, whether you already fixed this issue in the most recent version. Sorry for the inconvenience - simply close this issue in that case.

It should be:

if (Math.abs(DEFAULT_MITER_LIMIT - miterLimit) > 0.001) {
   b.append("stroke-miterlimit: ").append(geomDP(miterLimit)).append(";");
}

But it is:

if (Math.abs(DEFAULT_MITER_LIMIT - miterLimit) > 0.001) {
   b.append("stroke-miterlimit: ").append(geomDP(miterLimit));
}

Example:
grafik
grafik

Solution:
grafik
grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions