Skip to content

Table of Contents using new custom skia build #808

Closed Answered by MarcinZiabek
leandrobattochio asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to remove the ugly line by adding the fill="none" property.

.Content()
.Padding(10)
.Width(200)
.Scale(3)
.Svg(context => 
    @$"<svg height=""1"" width=""{context.Width}"">
      <line x1=""0"" y1=""0"" x2=""{context.Width}"" y2=""0"" stroke-width=""1"" fill=""none"" stroke=""black"" stroke-dasharray=""2 2""/>
    </svg>
    ");

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@MarcinZiabek
Comment options

Answer selected by leandrobattochio
Comment options

You must be logged in to vote
1 reply
@MarcinZiabek
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants