2012-03-08 49 views
0

我需要在WPF中繪製(使用System.Windows.Media.DrawingContext)「L」。 什麼是最佳的處理方式?使用DrawingContext繪製「L」

畫兩條線?畫一個PolyLineSegment? (不知道如何)

drawContext.DrawLine(myPen, topLeft, New Point(topLeft.X + 5, topLeft.Y)) 
drawContext.DrawLine(myPen, topLeft, New Point(topLeft.X, topLeft.Y + 5)) 

其實,我需要與周圍可見的角落「L」的標籤般的​​...
我需要使用模板或裝飾。

回答