.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Post New Web Links

OpacityMask on StrokeThickness

Posted By:      Posted Date: September 24, 2010    Points: 0   Category :WPF


I have a line for which I want the opacity to fade out across the thickness of the line. I only manage to apply a LinearGradientBrush along the length of the line as in the sample below.

    <Line X1="400" Y1="300" X2="600" Y2="300" Stroke="Red" StrokeThickness=" 

View Complete Post

More Related Resource Links

Scaling StrokeThickness



I found quite a few threads about this topic when i searched, I was not able to get this working anyway.

What i want to do, I want to apply a scaletransform to the strokethickness of a line

  <Grid Name="grid">
    <Line Name="testLine" X1="0" Y1="0" X2="100"
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend