Beispiel #1
0
 /// <summary>
 /// Uses the properties specified in this class to generate a pen.
 /// </summary>
 /// <returns></returns>
 public virtual Pen ToPen(double width)
 {
     if (_innerStroke != null)
     {
         return(_innerStroke.ToPen(width));
     }
     return(new Pen(Color.Black, (float)width));
 }