Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rounded corners after transform #52

Closed
LukeDefeo opened this issue Jun 2, 2016 · 1 comment
Closed

No rounded corners after transform #52

LukeDefeo opened this issue Jun 2, 2016 · 1 comment

Comments

@LukeDefeo
Copy link

LukeDefeo commented Jun 2, 2016

Here is my svg


<svg width="24px" height="24px" viewBox="305 12 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
    <desc>Created with Sketch.</desc>
    <defs>
        <rect id="path-1" x="0" y="0" width="20" height="14" rx="2"></rect>
        <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="20" height="14" fill="white">
            <use xlink:href="#path-1"></use>
        </mask>
    </defs>
    <g id="1Railcard" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" transform="translate(305.000000, 12.000000)">
        <g id="Railcard" transform="translate(2.000000, 5.000000)" stroke="#21314D">
            <use id="Rectangle-1057" mask="url(#mask-2)" stroke-width="4" xlink:href="#path-1"></use>
            <path d="M1,9 L18,9" id="Line-2" stroke-width="2" stroke-linecap="square"></path>
        </g>
    </g>
</svg>
@yuraj11
Copy link
Collaborator

yuraj11 commented Jul 11, 2016

This is because of fill-rule="evenodd" #44
You have to correct SVG manually in your vector editor (https://goo.gl/gm99HG).

@yuraj11 yuraj11 closed this as completed Jul 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants