${ui_action_DrawFreeHandLine_Title}

${ui_action_DrawFreeHandLine_Description_sl}

Inheritance: MapAction, IDrawStyle
 //绘制自由线,并且设置绘制时的样式
 private void btn_FreeHand_Click(object sender, RoutedEventArgs e)
 {
     DrawFreeLine freehand = new DrawFreeLine(this.MyMap);
     freehand.Opacity = 0.5;
     freehand.Stroke = new SolidColorBrush(Colors.Orange);
     freehand.StrokeThickness = 3;
     this.MyMap.Action = freehand;
     freehand.DrawCompleted += new EventHandler<DrawEventArgs>(freehand_DrawCompleted);
 }
        private void BtnFreeHand_Click(object sender, RoutedEventArgs e)
        {
            DrawFreeLine drawFreeHand = new DrawFreeLine(MyMap)
            {
                StrokeThickness = 5,
                Stroke = new SolidColorBrush(Colors.Green),
                StrokeEndLineCap = PenLineCap.Round,
                StrokeStartLineCap = PenLineCap.Triangle,
                StrokeLineJoin = PenLineJoin.Bevel,
            };

            MyMap.Action = drawFreeHand;
            drawFreeHand.DrawCompleted += new EventHandler<DrawEventArgs>(drawFreeHand_DrawComplete);
        }
 //绘制自由线
 private void btn_FreeHand_Click(object sender, RoutedEventArgs e)
 {
     DrawFreeLine freehand = new DrawFreeLine(this.MyMap);
     this.MyMap.Action = freehand;
     freehand.DrawCompleted += new EventHandler<DrawEventArgs>(freehand_DrawCompleted);
 }